8398c9048d
code was modified slightly, so the code differs from the original downloadable 1.9.5 version
23 lines
560 B
JavaScript
23 lines
560 B
JavaScript
dojo.provide("dijit.ToolbarSeparator");
|
|
|
|
dojo.require("dijit._Widget");
|
|
dojo.require("dijit._Templated");
|
|
|
|
dojo.declare("dijit.ToolbarSeparator",
|
|
[ dijit._Widget, dijit._Templated ],
|
|
{
|
|
// summary:
|
|
// A spacer between two `dijit.Toolbar` items
|
|
templateString: '<div class="dijitToolbarSeparator dijitInline"></div>',
|
|
postCreate: function(){ dojo.setSelectable(this.domNode, false); },
|
|
isFocusable: function(){
|
|
// summary:
|
|
// This widget isn't focusable, so pass along that fact.
|
|
// tags:
|
|
// protected
|
|
return false;
|
|
}
|
|
|
|
});
|
|
|
|
|