8398c9048d
code was modified slightly, so the code differs from the original downloadable 1.9.5 version
28 lines
585 B
JavaScript
28 lines
585 B
JavaScript
dojo.provide("dijit.MenuSeparator");
|
|
|
|
dojo.require("dijit._Widget");
|
|
dojo.require("dijit._Templated");
|
|
dojo.require("dijit._Contained");
|
|
|
|
dojo.declare("dijit.MenuSeparator",
|
|
[dijit._Widget, dijit._Templated, dijit._Contained],
|
|
{
|
|
// summary:
|
|
// A line between two menu items
|
|
|
|
templatePath: dojo.moduleUrl("dijit", "templates/MenuSeparator.html"),
|
|
|
|
postCreate: function(){
|
|
dojo.setSelectable(this.domNode, false);
|
|
},
|
|
|
|
isFocusable: function(){
|
|
// summary:
|
|
// Override to always return false
|
|
// tags:
|
|
// protected
|
|
|
|
return false; // Boolean
|
|
}
|
|
});
|
|
|