You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
818 B
24 lines
818 B
13 years ago
|
/*
|
||
|
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._DialogMixin"]){
|
||
|
dojo._hasResource["dijit._DialogMixin"]=true;
|
||
|
dojo.provide("dijit._DialogMixin");
|
||
|
dojo.require("dijit._Widget");
|
||
|
dojo.declare("dijit._DialogMixin",null,{attributeMap:dijit._Widget.prototype.attributeMap,execute:function(_1){
|
||
|
},onCancel:function(){
|
||
|
},onExecute:function(){
|
||
|
},_onSubmit:function(){
|
||
|
this.onExecute();
|
||
|
this.execute(this.get("value"));
|
||
|
},_getFocusItems:function(){
|
||
|
var _2=dijit._getTabNavigable(this.containerNode);
|
||
|
this._firstFocusItem=_2.lowest||_2.first||this.closeButtonNode||this.domNode;
|
||
|
this._lastFocusItem=_2.last||_2.highest||this._firstFocusItem;
|
||
|
}});
|
||
|
}
|