You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
1002 B
JavaScript
36 lines
1002 B
JavaScript
/*
|
|
Copyright (c) 2004-2011, The Dojo Foundation All Rights Reserved.
|
|
Available via Academic Free License >= 2.1 OR the modified BSD license.
|
|
see: http://dojotoolkit.org/license for details
|
|
*/
|
|
|
|
|
|
if(!dojo._hasResource["dijit.ToolbarSeparator"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code.
|
|
dojo._hasResource["dijit.ToolbarSeparator"] = true;
|
|
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" role="presentation"></div>',
|
|
buildRendering: function(){
|
|
this.inherited(arguments);
|
|
dojo.setSelectable(this.domNode, false);
|
|
},
|
|
isFocusable: function(){
|
|
// summary:
|
|
// This widget isn't focusable, so pass along that fact.
|
|
// tags:
|
|
// protected
|
|
return false;
|
|
}
|
|
|
|
});
|
|
|
|
}
|