SWF-883 - Upgrade Spring JavaScript to Dojo 1.0.2
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright (c) 2004-2008, The Dojo Foundation
|
||||
Copyright (c) 2004-2007, The Dojo Foundation
|
||||
All Rights Reserved.
|
||||
|
||||
Licensed under the Academic Free License version 2.1 or above OR the
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,4 +1,4 @@
|
||||
Dojo is available under *either* the terms of the modified BSD license *or* the
|
||||
Dojo is availble under *either* the terms of the modified BSD license *or* the
|
||||
Academic Free License version 2.1. As a recipient of Dojo, you may choose which
|
||||
license to receive this code under (except as noted in per-module LICENSE
|
||||
files). Some modules may not be the copyright of the Dojo Foundation. These
|
||||
@@ -13,7 +13,7 @@ The text of the AFL and BSD licenses is reproduced below.
|
||||
The "New" BSD License:
|
||||
**********************
|
||||
|
||||
Copyright (c) 2005-2008, The Dojo Foundation
|
||||
Copyright (c) 2005-2007, The Dojo Foundation
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright (c) 2004-2008, The Dojo Foundation
|
||||
Copyright (c) 2004-2007, The Dojo Foundation
|
||||
All Rights Reserved.
|
||||
|
||||
Licensed under the Academic Free License version 2.1 or above OR the
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright (c) 2004-2008, The Dojo Foundation
|
||||
Copyright (c) 2004-2007, The Dojo Foundation
|
||||
All Rights Reserved.
|
||||
|
||||
Licensed under the Academic Free License version 2.1 or above OR the
|
||||
@@ -9,4 +9,4 @@
|
||||
*/
|
||||
|
||||
|
||||
if(!dojo._hasResource["dijit.TitlePane"]){dojo._hasResource["dijit.TitlePane"]=true;dojo.provide("dijit.TitlePane");dojo.require("dojo.fx");dojo.require("dijit._Templated");dojo.require("dijit.layout.ContentPane");dojo.declare("dijit.TitlePane",[dijit.layout.ContentPane,dijit._Templated],{title:"",open:true,duration:250,baseClass:"dijitTitlePane",templateString:"<div class=\"${baseClass}\">\n\t<div dojoAttachEvent=\"onclick:toggle,onkeypress: _onTitleKey,onfocus:_handleFocus,onblur:_handleFocus\" tabindex=\"0\"\n\t\t\twaiRole=\"button\" class=\"dijitTitlePaneTitle\" dojoAttachPoint=\"titleBarNode,focusNode\">\n\t\t<div dojoAttachPoint=\"arrowNode\" class=\"dijitInline dijitArrowNode\"><span dojoAttachPoint=\"arrowNodeInner\" class=\"dijitArrowNodeInner\"></span></div>\n\t\t<div dojoAttachPoint=\"titleNode\" class=\"dijitTitlePaneTextNode\"></div>\n\t</div>\n\t<div class=\"dijitTitlePaneContentOuter\" dojoAttachPoint=\"hideNode\">\n\t\t<div class=\"dijitReset\" dojoAttachPoint=\"wipeNode\">\n\t\t\t<div class=\"dijitTitlePaneContentInner\" dojoAttachPoint=\"containerNode\" waiRole=\"region\" tabindex=\"-1\">\n\t\t\t\t<!-- nested divs because wipeIn()/wipeOut() doesn't work right on node w/padding etc. Put padding on inner div. -->\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>\n",postCreate:function(){this.setTitle(this.title);if(!this.open){this.hideNode.style.display=this.wipeNode.style.display="none";}this._setCss();dojo.setSelectable(this.titleNode,false);this.inherited(arguments);dijit.setWaiState(this.containerNode,"labelledby",this.titleNode.id);dijit.setWaiState(this.focusNode,"haspopup","true");var _1=this.hideNode,_2=this.wipeNode;this._wipeIn=dojo.fx.wipeIn({node:this.wipeNode,duration:this.duration,beforeBegin:function(){_1.style.display="";}});this._wipeOut=dojo.fx.wipeOut({node:this.wipeNode,duration:this.duration,onEnd:function(){_1.style.display="none";}});},setContent:function(_3){if(!this.open||this._wipeOut.status()=="playing"){this.inherited(arguments);}else{if(this._wipeIn.status()=="playing"){this._wipeIn.stop();}dojo.marginBox(this.wipeNode,{h:dojo.marginBox(this.wipeNode).h});this.inherited(arguments);this._wipeIn.play();}},toggle:function(){dojo.forEach([this._wipeIn,this._wipeOut],function(_4){if(_4.status()=="playing"){_4.stop();}});this[this.open?"_wipeOut":"_wipeIn"].play();this.open=!this.open;this._loadCheck();this._setCss();},_setCss:function(){var _5=["dijitClosed","dijitOpen"];var _6=this.open;var _7=this.titleBarNode||this.focusNode;dojo.removeClass(_7,_5[!_6+0]);_7.className+=" "+_5[_6+0];this.arrowNodeInner.innerHTML=this.open?"-":"+";},_onTitleKey:function(e){if(e.keyCode==dojo.keys.ENTER||e.charCode==dojo.keys.SPACE){this.toggle();}else{if(e.keyCode==dojo.keys.DOWN_ARROW&&this.open){this.containerNode.focus();e.preventDefault();}}},_handleFocus:function(e){dojo[(e.type=="focus"?"addClass":"removeClass")](this.focusNode,this.baseClass+"Focused");},setTitle:function(_a){this.titleNode.innerHTML=_a;}});}
|
||||
if(!dojo._hasResource["dijit.TitlePane"]){dojo._hasResource["dijit.TitlePane"]=true;dojo.provide("dijit.TitlePane");dojo.require("dojo.fx");dojo.require("dijit._Templated");dojo.require("dijit.layout.ContentPane");dojo.declare("dijit.TitlePane",[dijit.layout.ContentPane,dijit._Templated],{title:"",open:true,duration:250,baseClass:"dijitTitlePane",templateString:"<div class=\"dijitTitlePane\">\n\t<div dojoAttachEvent=\"onclick:toggle,onkeypress: _onTitleKey,onfocus:_handleFocus,onblur:_handleFocus\" tabindex=\"0\"\n\t\t\twaiRole=\"button\" class=\"dijitTitlePaneTitle\" dojoAttachPoint=\"focusNode\">\n\t\t<div dojoAttachPoint=\"arrowNode\" class=\"dijitInline dijitArrowNode\"><span dojoAttachPoint=\"arrowNodeInner\" class=\"dijitArrowNodeInner\"></span></div>\n\t\t<div dojoAttachPoint=\"titleNode\" class=\"dijitTitlePaneTextNode\"></div>\n\t</div>\n\t<div class=\"dijitTitlePaneContentOuter\" dojoAttachPoint=\"hideNode\">\n\t\t<div class=\"dijitReset\" dojoAttachPoint=\"wipeNode\">\n\t\t\t<div class=\"dijitTitlePaneContentInner\" dojoAttachPoint=\"containerNode\" waiRole=\"region\" tabindex=\"-1\">\n\t\t\t\t<!-- nested divs because wipeIn()/wipeOut() doesn't work right on node w/padding etc. Put padding on inner div. -->\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>\n",postCreate:function(){this.setTitle(this.title);if(!this.open){this.hideNode.style.display=this.wipeNode.style.display="none";}this._setCss();dojo.setSelectable(this.titleNode,false);this.inherited("postCreate",arguments);dijit.setWaiState(this.containerNode,"labelledby",this.titleNode.id);dijit.setWaiState(this.focusNode,"haspopup","true");var _1=this.hideNode,_2=this.wipeNode;this._wipeIn=dojo.fx.wipeIn({node:this.wipeNode,duration:this.duration,beforeBegin:function(){_1.style.display="";}});this._wipeOut=dojo.fx.wipeOut({node:this.wipeNode,duration:this.duration,onEnd:function(){_1.style.display="none";}});},setContent:function(_3){if(this._wipeOut.status()=="playing"){this.inherited("setContent",arguments);}else{if(this._wipeIn.status()=="playing"){this._wipeIn.stop();}dojo.marginBox(this.wipeNode,{h:dojo.marginBox(this.wipeNode).h});this.inherited("setContent",arguments);this._wipeIn.play();}},toggle:function(){dojo.forEach([this._wipeIn,this._wipeOut],function(_4){if(_4.status()=="playing"){_4.stop();}});this[this.open?"_wipeOut":"_wipeIn"].play();this.open=!this.open;this._loadCheck();this._setCss();},_setCss:function(){var _5=["dijitClosed","dijitOpen"];var _6=this.open;dojo.removeClass(this.focusNode,_5[!_6+0]);this.focusNode.className+=" "+_5[_6+0];this.arrowNodeInner.innerHTML=this.open?"-":"+";},_onTitleKey:function(e){if(e.keyCode==dojo.keys.ENTER||e.charCode==dojo.keys.SPACE){this.toggle();}else{if(e.keyCode==dojo.keys.DOWN_ARROW){if(this.open){this.containerNode.focus();e.preventDefault();}}}},_handleFocus:function(e){dojo[(e.type=="focus"?"addClass":"removeClass")](this.focusNode,this.baseClass+"Focused");},setTitle:function(_9){this.titleNode.innerHTML=_9;}});}
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright (c) 2004-2008, The Dojo Foundation
|
||||
Copyright (c) 2004-2007, The Dojo Foundation
|
||||
All Rights Reserved.
|
||||
|
||||
Licensed under the Academic Free License version 2.1 or above OR the
|
||||
@@ -9,4 +9,4 @@
|
||||
*/
|
||||
|
||||
|
||||
if(!dojo._hasResource["dijit.Toolbar"]){dojo._hasResource["dijit.Toolbar"]=true;dojo.provide("dijit.Toolbar");dojo.require("dijit._Widget");dojo.require("dijit._Container");dojo.require("dijit._Templated");dojo.declare("dijit.Toolbar",[dijit._Widget,dijit._Templated,dijit._KeyNavContainer],{templateString:"<div class=\"dijit dijitToolbar\" waiRole=\"toolbar\" tabIndex=\"${tabIndex}\" dojoAttachPoint=\"containerNode\">"+"</div>",tabIndex:"0",postCreate:function(){this.connectKeyNavHandlers(this.isLeftToRight()?[dojo.keys.LEFT_ARROW]:[dojo.keys.RIGHT_ARROW],this.isLeftToRight()?[dojo.keys.RIGHT_ARROW]:[dojo.keys.LEFT_ARROW]);},startup:function(){if(this._started){return;}this.startupKeyNavChildren();this.inherited(arguments);}});dojo.declare("dijit.ToolbarSeparator",[dijit._Widget,dijit._Templated],{templateString:"<div class=\"dijitToolbarSeparator dijitInline\"></div>",postCreate:function(){dojo.setSelectable(this.domNode,false);},isFocusable:function(){return false;}});}
|
||||
if(!dojo._hasResource["dijit.Toolbar"]){dojo._hasResource["dijit.Toolbar"]=true;dojo.provide("dijit.Toolbar");dojo.require("dijit._Widget");dojo.require("dijit._Container");dojo.require("dijit._Templated");dojo.declare("dijit.Toolbar",[dijit._Widget,dijit._Templated,dijit._KeyNavContainer],{templateString:"<div class=\"dijit dijitToolbar\" waiRole=\"toolbar\" tabIndex=\"${tabIndex}\" dojoAttachPoint=\"containerNode\">"+"</div>",tabIndex:"0",postCreate:function(){this.connectKeyNavHandlers(this.isLeftToRight()?[dojo.keys.LEFT_ARROW]:[dojo.keys.RIGHT_ARROW],this.isLeftToRight()?[dojo.keys.RIGHT_ARROW]:[dojo.keys.LEFT_ARROW]);},startup:function(){this.startupKeyNavChildren();}});dojo.declare("dijit.ToolbarSeparator",[dijit._Widget,dijit._Templated],{templateString:"<div class=\"dijitToolbarSeparator dijitInline\"></div>",postCreate:function(){dojo.setSelectable(this.domNode,false);},isFocusable:function(){return false;}});}
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright (c) 2004-2008, The Dojo Foundation
|
||||
Copyright (c) 2004-2007, The Dojo Foundation
|
||||
All Rights Reserved.
|
||||
|
||||
Licensed under the Academic Free License version 2.1 or above OR the
|
||||
@@ -9,4 +9,4 @@
|
||||
*/
|
||||
|
||||
|
||||
if(!dojo._hasResource["dijit.Tooltip"]){dojo._hasResource["dijit.Tooltip"]=true;dojo.provide("dijit.Tooltip");dojo.require("dijit._Widget");dojo.require("dijit._Templated");dojo.declare("dijit._MasterTooltip",[dijit._Widget,dijit._Templated],{duration:200,templateString:"<div class=\"dijitTooltip dijitTooltipLeft\" id=\"dojoTooltip\">\n\t<div class=\"dijitTooltipContainer dijitTooltipContents\" dojoAttachPoint=\"containerNode\" waiRole='alert'></div>\n\t<div class=\"dijitTooltipConnector\"></div>\n</div>\n",postCreate:function(){dojo.body().appendChild(this.domNode);this.bgIframe=new dijit.BackgroundIframe(this.domNode);this.fadeIn=dojo.fadeIn({node:this.domNode,duration:this.duration,onEnd:dojo.hitch(this,"_onShow")});this.fadeOut=dojo.fadeOut({node:this.domNode,duration:this.duration,onEnd:dojo.hitch(this,"_onHide")});},show:function(_1,_2,_3){if(this.aroundNode&&this.aroundNode===_2){return;}if(this.fadeOut.status()=="playing"){this._onDeck=arguments;return;}this.containerNode.innerHTML=_1;this.domNode.style.top=(this.domNode.offsetTop+1)+"px";var _4={};var _5=this.isLeftToRight();dojo.forEach((_3&&_3.length)?_3:dijit.Tooltip.defaultPosition,function(_6){switch(_6){case "after":_4[_5?"BR":"BL"]=_5?"BL":"BR";break;case "before":_4[_5?"BL":"BR"]=_5?"BR":"BL";break;case "below":_4[_5?"BL":"BR"]=_5?"TL":"TR";_4[_5?"BR":"BL"]=_5?"TR":"TL";break;case "above":default:_4[_5?"TL":"TR"]=_5?"BL":"BR";_4[_5?"TR":"TL"]=_5?"BR":"BL";break;}});var _7=dijit.placeOnScreenAroundElement(this.domNode,_2,_4,dojo.hitch(this,"orient"));dojo.style(this.domNode,"opacity",0);this.fadeIn.play();this.isShowingNow=true;this.aroundNode=_2;},orient:function(_8,_9,_a){_8.className="dijitTooltip "+{"BL-TL":"dijitTooltipBelow dijitTooltipABLeft","TL-BL":"dijitTooltipAbove dijitTooltipABLeft","BR-TR":"dijitTooltipBelow dijitTooltipABRight","TR-BR":"dijitTooltipAbove dijitTooltipABRight","BR-BL":"dijitTooltipRight","BL-BR":"dijitTooltipLeft"}[_9+"-"+_a];},_onShow:function(){if(dojo.isIE){this.domNode.style.filter="";}},hide:function(_b){if(!this.aroundNode||this.aroundNode!==_b){return;}if(this._onDeck){this._onDeck=null;return;}this.fadeIn.stop();this.isShowingNow=false;this.aroundNode=null;this.fadeOut.play();},_onHide:function(){this.domNode.style.cssText="";if(this._onDeck){this.show.apply(this,this._onDeck);this._onDeck=null;}}});dijit.showTooltip=function(_c,_d,_e){if(!dijit._masterTT){dijit._masterTT=new dijit._MasterTooltip();}return dijit._masterTT.show(_c,_d,_e);};dijit.hideTooltip=function(_f){if(!dijit._masterTT){dijit._masterTT=new dijit._MasterTooltip();}return dijit._masterTT.hide(_f);};dojo.declare("dijit.Tooltip",dijit._Widget,{label:"",showDelay:400,connectId:[],position:[],postCreate:function(){if(this.srcNodeRef){this.srcNodeRef.style.display="none";}this._connectNodes=[];dojo.forEach(this.connectId,function(id){var _11=dojo.byId(id);if(_11){this._connectNodes.push(_11);dojo.forEach(["onMouseOver","onMouseOut","onFocus","onBlur","onHover","onUnHover"],function(_12){this.connect(_11,_12.toLowerCase(),"_"+_12);},this);if(dojo.isIE){_11.style.zoom=1;}}},this);},_onMouseOver:function(e){this._onHover(e);},_onMouseOut:function(e){if(dojo.isDescendant(e.relatedTarget,e.target)){return;}this._onUnHover(e);},_onFocus:function(e){this._focus=true;this._onHover(e);this.inherited(arguments);},_onBlur:function(e){this._focus=false;this._onUnHover(e);this.inherited(arguments);},_onHover:function(e){if(!this._showTimer){var _18=e.target;this._showTimer=setTimeout(dojo.hitch(this,function(){this.open(_18);}),this.showDelay);}},_onUnHover:function(e){if(this._focus){return;}if(this._showTimer){clearTimeout(this._showTimer);delete this._showTimer;}this.close();},open:function(_1a){_1a=_1a||this._connectNodes[0];if(!_1a){return;}if(this._showTimer){clearTimeout(this._showTimer);delete this._showTimer;}dijit.showTooltip(this.label||this.domNode.innerHTML,_1a,this.position);this._connectNode=_1a;},close:function(){dijit.hideTooltip(this._connectNode);delete this._connectNode;if(this._showTimer){clearTimeout(this._showTimer);delete this._showTimer;}},uninitialize:function(){this.close();}});dijit.Tooltip.defaultPosition=["after","before"];}
|
||||
if(!dojo._hasResource["dijit.Tooltip"]){dojo._hasResource["dijit.Tooltip"]=true;dojo.provide("dijit.Tooltip");dojo.require("dijit._Widget");dojo.require("dijit._Templated");dojo.declare("dijit._MasterTooltip",[dijit._Widget,dijit._Templated],{duration:200,templateString:"<div class=\"dijitTooltip dijitTooltipLeft\" id=\"dojoTooltip\">\n\t<div class=\"dijitTooltipContainer dijitTooltipContents\" dojoAttachPoint=\"containerNode\" waiRole='alert'></div>\n\t<div class=\"dijitTooltipConnector\"></div>\n</div>\n",postCreate:function(){dojo.body().appendChild(this.domNode);this.bgIframe=new dijit.BackgroundIframe(this.domNode);this.fadeIn=dojo.fadeIn({node:this.domNode,duration:this.duration,onEnd:dojo.hitch(this,"_onShow")});this.fadeOut=dojo.fadeOut({node:this.domNode,duration:this.duration,onEnd:dojo.hitch(this,"_onHide")});},show:function(_1,_2){if(this.aroundNode&&this.aroundNode===_2){return;}if(this.fadeOut.status()=="playing"){this._onDeck=arguments;return;}this.containerNode.innerHTML=_1;this.domNode.style.top=(this.domNode.offsetTop+1)+"px";var _3=this.isLeftToRight()?{"BR":"BL","BL":"BR"}:{"BL":"BR","BR":"BL"};var _4=dijit.placeOnScreenAroundElement(this.domNode,_2,_3);this.domNode.className="dijitTooltip dijitTooltip"+(_4.corner=="BL"?"Right":"Left");dojo.style(this.domNode,"opacity",0);this.fadeIn.play();this.isShowingNow=true;this.aroundNode=_2;},_onShow:function(){if(dojo.isIE){this.domNode.style.filter="";}},hide:function(_5){if(!this.aroundNode||this.aroundNode!==_5){return;}if(this._onDeck){this._onDeck=null;return;}this.fadeIn.stop();this.isShowingNow=false;this.aroundNode=null;this.fadeOut.play();},_onHide:function(){this.domNode.style.cssText="";if(this._onDeck){this.show.apply(this,this._onDeck);this._onDeck=null;}}});dijit.showTooltip=function(_6,_7){if(!dijit._masterTT){dijit._masterTT=new dijit._MasterTooltip();}return dijit._masterTT.show(_6,_7);};dijit.hideTooltip=function(_8){if(!dijit._masterTT){dijit._masterTT=new dijit._MasterTooltip();}return dijit._masterTT.hide(_8);};dojo.declare("dijit.Tooltip",dijit._Widget,{label:"",showDelay:400,connectId:[],postCreate:function(){if(this.srcNodeRef){this.srcNodeRef.style.display="none";}this._connectNodes=[];dojo.forEach(this.connectId,function(id){var _a=dojo.byId(id);if(_a){this._connectNodes.push(_a);dojo.forEach(["onMouseOver","onMouseOut","onFocus","onBlur","onHover","onUnHover"],function(_b){this.connect(_a,_b.toLowerCase(),"_"+_b);},this);if(dojo.isIE){_a.style.zoom=1;}}},this);},_onMouseOver:function(e){this._onHover(e);},_onMouseOut:function(e){if(dojo.isDescendant(e.relatedTarget,e.target)){return;}this._onUnHover(e);},_onFocus:function(e){this._focus=true;this._onHover(e);},_onBlur:function(e){this._focus=false;this._onUnHover(e);},_onHover:function(e){if(!this._showTimer){var _11=e.target;this._showTimer=setTimeout(dojo.hitch(this,function(){this.open(_11);}),this.showDelay);}},_onUnHover:function(e){if(this._focus){return;}if(this._showTimer){clearTimeout(this._showTimer);delete this._showTimer;}this.close();},open:function(_13){_13=_13||this._connectNodes[0];if(!_13){return;}if(this._showTimer){clearTimeout(this._showTimer);delete this._showTimer;}dijit.showTooltip(this.label||this.domNode.innerHTML,_13);this._connectNode=_13;},close:function(){dijit.hideTooltip(this._connectNode);delete this._connectNode;if(this._showTimer){clearTimeout(this._showTimer);delete this._showTimer;}},uninitialize:function(){this.close();}});}
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright (c) 2004-2008, The Dojo Foundation
|
||||
Copyright (c) 2004-2007, The Dojo Foundation
|
||||
All Rights Reserved.
|
||||
|
||||
Licensed under the Academic Free License version 2.1 or above OR the
|
||||
@@ -9,4 +9,4 @@
|
||||
*/
|
||||
|
||||
|
||||
if(!dojo._hasResource["dijit._Container"]){dojo._hasResource["dijit._Container"]=true;dojo.provide("dijit._Container");dojo.declare("dijit._Contained",null,{getParent:function(){for(var p=this.domNode.parentNode;p;p=p.parentNode){var id=p.getAttribute&&p.getAttribute("widgetId");if(id){var _3=dijit.byId(id);return _3.isContainer?_3:null;}}return null;},_getSibling:function(_4){var _5=this.domNode;do{_5=_5[_4+"Sibling"];}while(_5&&_5.nodeType!=1);if(!_5){return null;}var id=_5.getAttribute("widgetId");return dijit.byId(id);},getPreviousSibling:function(){return this._getSibling("previous");},getNextSibling:function(){return this._getSibling("next");}});dojo.declare("dijit._Container",null,{isContainer:true,addChild:function(_7,_8){if(_8===undefined){_8="last";}var _9=this.containerNode||this.domNode;if(_8&&typeof _8=="number"){var _a=dojo.query("> [widgetid]",_9);if(_a&&_a.length>=_8){_9=_a[_8-1];_8="after";}}dojo.place(_7.domNode,_9,_8);if(this._started&&!_7._started){_7.startup();}},removeChild:function(_b){var _c=_b.domNode;_c.parentNode.removeChild(_c);},_nextElement:function(_d){do{_d=_d.nextSibling;}while(_d&&_d.nodeType!=1);return _d;},_firstElement:function(_e){_e=_e.firstChild;if(_e&&_e.nodeType!=1){_e=this._nextElement(_e);}return _e;},getChildren:function(){return dojo.query("> [widgetId]",this.containerNode||this.domNode).map(dijit.byNode);},hasChildren:function(){var cn=this.containerNode||this.domNode;return !!this._firstElement(cn);},_getSiblingOfChild:function(_10,dir){var _12=_10.domNode;var _13=(dir>0?"nextSibling":"previousSibling");do{_12=_12[_13];}while(_12&&(_12.nodeType!=1||!dijit.byNode(_12)));return _12?dijit.byNode(_12):null;}});dojo.declare("dijit._KeyNavContainer",[dijit._Container],{_keyNavCodes:{},connectKeyNavHandlers:function(_14,_15){var _16=this._keyNavCodes={};var _17=dojo.hitch(this,this.focusPrev);var _18=dojo.hitch(this,this.focusNext);dojo.forEach(_14,function(_19){_16[_19]=_17;});dojo.forEach(_15,function(_1a){_16[_1a]=_18;});this.connect(this.domNode,"onkeypress","_onContainerKeypress");this.connect(this.domNode,"onfocus","_onContainerFocus");},startupKeyNavChildren:function(){dojo.forEach(this.getChildren(),dojo.hitch(this,"_startupChild"));},addChild:function(_1b,_1c){dijit._KeyNavContainer.superclass.addChild.apply(this,arguments);this._startupChild(_1b);},focus:function(){this.focusFirstChild();},focusFirstChild:function(){this.focusChild(this._getFirstFocusableChild());},focusNext:function(){if(this.focusedChild&&this.focusedChild.hasNextFocalNode&&this.focusedChild.hasNextFocalNode()){this.focusedChild.focusNext();return;}var _1d=this._getNextFocusableChild(this.focusedChild,1);if(_1d.getFocalNodes){this.focusChild(_1d,_1d.getFocalNodes()[0]);}else{this.focusChild(_1d);}},focusPrev:function(){if(this.focusedChild&&this.focusedChild.hasPrevFocalNode&&this.focusedChild.hasPrevFocalNode()){this.focusedChild.focusPrev();return;}var _1e=this._getNextFocusableChild(this.focusedChild,-1);if(_1e.getFocalNodes){var _1f=_1e.getFocalNodes();this.focusChild(_1e,_1f[_1f.length-1]);}else{this.focusChild(_1e);}},focusChild:function(_20,_21){if(_20){if(this.focusedChild&&_20!==this.focusedChild){this._onChildBlur(this.focusedChild);}this.focusedChild=_20;if(_21&&_20.focusFocalNode){_20.focusFocalNode(_21);}else{_20.focus();}}},_startupChild:function(_22){if(_22.getFocalNodes){dojo.forEach(_22.getFocalNodes(),function(_23){dojo.attr(_23,"tabindex",-1);this._connectNode(_23);},this);}else{var _24=_22.focusNode||_22.domNode;if(_22.isFocusable()){dojo.attr(_24,"tabindex",-1);}this._connectNode(_24);}},_connectNode:function(_25){this.connect(_25,"onfocus","_onNodeFocus");this.connect(_25,"onblur","_onNodeBlur");},_onContainerFocus:function(evt){if(evt.target===this.domNode){this.focusFirstChild();}},_onContainerKeypress:function(evt){if(evt.ctrlKey||evt.altKey){return;}var _28=this._keyNavCodes[evt.keyCode];if(_28){_28();dojo.stopEvent(evt);}},_onNodeFocus:function(evt){dojo.attr(this.domNode,"tabindex",-1);var _2a=dijit.getEnclosingWidget(evt.target);if(_2a&&_2a.isFocusable()){this.focusedChild=_2a;}dojo.stopEvent(evt);},_onNodeBlur:function(evt){if(this.tabIndex){dojo.attr(this.domNode,"tabindex",this.tabIndex);}dojo.stopEvent(evt);},_onChildBlur:function(_2c){},_getFirstFocusableChild:function(){return this._getNextFocusableChild(null,1);},_getNextFocusableChild:function(_2d,dir){if(_2d){_2d=this._getSiblingOfChild(_2d,dir);}var _2f=this.getChildren();for(var i=0;i<_2f.length;i++){if(!_2d){_2d=_2f[(dir>0)?0:(_2f.length-1)];}if(_2d.isFocusable()){return _2d;}_2d=this._getSiblingOfChild(_2d,dir);}return null;}});}
|
||||
if(!dojo._hasResource["dijit._Container"]){dojo._hasResource["dijit._Container"]=true;dojo.provide("dijit._Container");dojo.declare("dijit._Contained",null,{getParent:function(){for(var p=this.domNode.parentNode;p;p=p.parentNode){var id=p.getAttribute&&p.getAttribute("widgetId");if(id){var _3=dijit.byId(id);return _3.isContainer?_3:null;}}return null;},_getSibling:function(_4){var _5=this.domNode;do{_5=_5[_4+"Sibling"];}while(_5&&_5.nodeType!=1);if(!_5){return null;}var id=_5.getAttribute("widgetId");return dijit.byId(id);},getPreviousSibling:function(){return this._getSibling("previous");},getNextSibling:function(){return this._getSibling("next");}});dojo.declare("dijit._Container",null,{isContainer:true,addChild:function(_7,_8){if(_8===undefined){_8="last";}var _9=this.containerNode||this.domNode;if(_8&&typeof _8=="number"){var _a=dojo.query("> [widgetid]",_9);if(_a&&_a.length>=_8){_9=_a[_8-1];_8="after";}}dojo.place(_7.domNode,_9,_8);if(this._started&&!_7._started){_7.startup();}},removeChild:function(_b){var _c=_b.domNode;_c.parentNode.removeChild(_c);},_nextElement:function(_d){do{_d=_d.nextSibling;}while(_d&&_d.nodeType!=1);return _d;},_firstElement:function(_e){_e=_e.firstChild;if(_e&&_e.nodeType!=1){_e=this._nextElement(_e);}return _e;},getChildren:function(){return dojo.query("> [widgetId]",this.containerNode||this.domNode).map(dijit.byNode);},hasChildren:function(){var cn=this.containerNode||this.domNode;return !!this._firstElement(cn);},_getSiblingOfChild:function(_10,dir){var _12=_10.domNode;var _13=(dir>0?"nextSibling":"previousSibling");do{_12=_12[_13];}while(_12&&(_12.nodeType!=1||!dijit.byNode(_12)));return _12?dijit.byNode(_12):null;}});dojo.declare("dijit._KeyNavContainer",[dijit._Container],{_keyNavCodes:{},connectKeyNavHandlers:function(_14,_15){var _16=this._keyNavCodes={};var _17=dojo.hitch(this,this.focusPrev);var _18=dojo.hitch(this,this.focusNext);dojo.forEach(_14,function(_19){_16[_19]=_17;});dojo.forEach(_15,function(_1a){_16[_1a]=_18;});this.connect(this.domNode,"onkeypress","_onContainerKeypress");if(dojo.isIE){this.connect(this.domNode,"onactivate","_onContainerFocus");this.connect(this.domNode,"ondeactivate","_onContainerBlur");}else{this.connect(this.domNode,"onfocus","_onContainerFocus");this.connect(this.domNode,"onblur","_onContainerBlur");}},startupKeyNavChildren:function(){dojo.forEach(this.getChildren(),dojo.hitch(this,"_setTabIndexMinusOne"));},addChild:function(_1b,_1c){dijit._KeyNavContainer.superclass.addChild.apply(this,arguments);this._setTabIndexMinusOne(_1b);},focus:function(){this.focusFirstChild();},focusFirstChild:function(){this.focusChild(this._getFirstFocusableChild());},focusNext:function(){if(this.focusedChild&&this.focusedChild.hasNextFocalNode&&this.focusedChild.hasNextFocalNode()){this.focusedChild.focusNext();return;}var _1d=this._getNextFocusableChild(this.focusedChild,1);if(_1d.getFocalNodes){this.focusChild(_1d,_1d.getFocalNodes()[0]);}else{this.focusChild(_1d);}},focusPrev:function(){if(this.focusedChild&&this.focusedChild.hasPrevFocalNode&&this.focusedChild.hasPrevFocalNode()){this.focusedChild.focusPrev();return;}var _1e=this._getNextFocusableChild(this.focusedChild,-1);if(_1e.getFocalNodes){var _1f=_1e.getFocalNodes();this.focusChild(_1e,_1f[_1f.length-1]);}else{this.focusChild(_1e);}},focusChild:function(_20,_21){if(_20){if(this.focusedChild&&_20!==this.focusedChild){this._onChildBlur(this.focusedChild);}this.focusedChild=_20;if(_21&&_20.focusFocalNode){_20.focusFocalNode(_21);}else{_20.focus();}}},_setTabIndexMinusOne:function(_22){if(_22.getFocalNodes){dojo.forEach(_22.getFocalNodes(),function(_23){_23.setAttribute("tabIndex",-1);});}else{(_22.focusNode||_22.domNode).setAttribute("tabIndex",-1);}},_onContainerFocus:function(evt){this.domNode.setAttribute("tabIndex",-1);if(evt.target===this.domNode){this.focusFirstChild();}else{var _25=dijit.getEnclosingWidget(evt.target);if(_25&&_25.isFocusable()){this.focusedChild=_25;}}},_onContainerBlur:function(evt){if(this.tabIndex){this.domNode.setAttribute("tabIndex",this.tabIndex);}},_onContainerKeypress:function(evt){if(evt.ctrlKey||evt.altKey){return;}var _28=this._keyNavCodes[evt.keyCode];if(_28){_28();dojo.stopEvent(evt);}},_onChildBlur:function(_29){},_getFirstFocusableChild:function(){return this._getNextFocusableChild(null,1);},_getNextFocusableChild:function(_2a,dir){if(_2a){_2a=this._getSiblingOfChild(_2a,dir);}var _2c=this.getChildren();for(var i=0;i<_2c.length;i++){if(!_2a){_2a=_2c[(dir>0)?0:(_2c.length-1)];}if(_2a.isFocusable()){return _2a;}_2a=this._getSiblingOfChild(_2a,dir);}}});}
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright (c) 2004-2008, The Dojo Foundation
|
||||
Copyright (c) 2004-2007, The Dojo Foundation
|
||||
All Rights Reserved.
|
||||
|
||||
Licensed under the Academic Free License version 2.1 or above OR the
|
||||
@@ -9,4 +9,4 @@
|
||||
*/
|
||||
|
||||
|
||||
if(!dojo._hasResource["dijit._Templated"]){dojo._hasResource["dijit._Templated"]=true;dojo.provide("dijit._Templated");dojo.require("dijit._Widget");dojo.require("dojo.string");dojo.require("dojo.parser");dojo.declare("dijit._Templated",null,{templateNode:null,templateString:null,templatePath:null,widgetsInTemplate:false,containerNode:null,_skipNodeCache:false,_stringRepl:function(_1){var _2=this.declaredClass,_3=this;return dojo.string.substitute(_1,this,function(_4,_5){if(_5.charAt(0)=="!"){_4=_3[_5.substr(1)];}if(typeof _4=="undefined"){throw new Error(_2+" template:"+_5);}if(!_4){return "";}return _5.charAt(0)=="!"?_4:_4.toString().replace(/"/g,""");},this);},buildRendering:function(){var _6=dijit._Templated.getCachedTemplate(this.templatePath,this.templateString,this._skipNodeCache);var _7;if(dojo.isString(_6)){_7=dijit._Templated._createNodesFromText(this._stringRepl(_6))[0];}else{_7=_6.cloneNode(true);}this._attachTemplateNodes(_7);var _8=this.srcNodeRef;if(_8&&_8.parentNode){_8.parentNode.replaceChild(_7,_8);}this.domNode=_7;if(this.widgetsInTemplate){var cw=this._supportingWidgets=dojo.parser.parse(_7);this._attachTemplateNodes(cw,function(n,p){return n[p];});}this._fillContent(_8);},_fillContent:function(_c){var _d=this.containerNode;if(_c&&_d){while(_c.hasChildNodes()){_d.appendChild(_c.firstChild);}}},_attachTemplateNodes:function(_e,_f){_f=_f||function(n,p){return n.getAttribute(p);};var _12=dojo.isArray(_e)?_e:(_e.all||_e.getElementsByTagName("*"));var x=dojo.isArray(_e)?0:-1;for(;x<_12.length;x++){var _14=(x==-1)?_e:_12[x];if(this.widgetsInTemplate&&_f(_14,"dojoType")){continue;}var _15=_f(_14,"dojoAttachPoint");if(_15){var _16,_17=_15.split(/\s*,\s*/);while((_16=_17.shift())){if(dojo.isArray(this[_16])){this[_16].push(_14);}else{this[_16]=_14;}}}var _18=_f(_14,"dojoAttachEvent");if(_18){var _19,_1a=_18.split(/\s*,\s*/);var _1b=dojo.trim;while((_19=_1a.shift())){if(_19){var _1c=null;if(_19.indexOf(":")!=-1){var _1d=_19.split(":");_19=_1b(_1d[0]);_1c=_1b(_1d[1]);}else{_19=_1b(_19);}if(!_1c){_1c=_19;}this.connect(_14,_19,_1c);}}}var _1e=_f(_14,"waiRole");if(_1e){dijit.setWaiRole(_14,_1e);}var _1f=_f(_14,"waiState");if(_1f){dojo.forEach(_1f.split(/\s*,\s*/),function(_20){if(_20.indexOf("-")!=-1){var _21=_20.split("-");dijit.setWaiState(_14,_21[0],_21[1]);}});}}}});dijit._Templated._templateCache={};dijit._Templated.getCachedTemplate=function(_22,_23,_24){var _25=dijit._Templated._templateCache;var key=_23||_22;var _27=_25[key];if(_27){return _27;}if(!_23){_23=dijit._Templated._sanitizeTemplateString(dojo._getText(_22));}_23=dojo.string.trim(_23);if(_24||_23.match(/\$\{([^\}]+)\}/g)){return (_25[key]=_23);}else{return (_25[key]=dijit._Templated._createNodesFromText(_23)[0]);}};dijit._Templated._sanitizeTemplateString=function(_28){if(_28){_28=_28.replace(/^\s*<\?xml(\s)+version=[\'\"](\d)*.(\d)*[\'\"](\s)*\?>/im,"");var _29=_28.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);if(_29){_28=_29[1];}}else{_28="";}return _28;};if(dojo.isIE){dojo.addOnUnload(function(){var _2a=dijit._Templated._templateCache;for(var key in _2a){var _2c=_2a[key];if(!isNaN(_2c.nodeType)){dojo._destroyElement(_2c);}delete _2a[key];}});}(function(){var _2d={cell:{re:/^<t[dh][\s\r\n>]/i,pre:"<table><tbody><tr>",post:"</tr></tbody></table>"},row:{re:/^<tr[\s\r\n>]/i,pre:"<table><tbody>",post:"</tbody></table>"},section:{re:/^<(thead|tbody|tfoot)[\s\r\n>]/i,pre:"<table>",post:"</table>"}};var tn;dijit._Templated._createNodesFromText=function(_2f){if(!tn){tn=dojo.doc.createElement("div");tn.style.display="none";dojo.body().appendChild(tn);}var _30="none";var _31=_2f.replace(/^\s+/,"");for(var _32 in _2d){var map=_2d[_32];if(map.re.test(_31)){_30=_32;_2f=map.pre+_2f+map.post;break;}}tn.innerHTML=_2f;if(tn.normalize){tn.normalize();}var tag={cell:"tr",row:"tbody",section:"table"}[_30];var _35=(typeof tag!="undefined")?tn.getElementsByTagName(tag)[0]:tn;var _36=[];while(_35.firstChild){_36.push(_35.removeChild(_35.firstChild));}tn.innerHTML="";return _36;};})();dojo.extend(dijit._Widget,{dojoAttachEvent:"",dojoAttachPoint:"",waiRole:"",waiState:""});}
|
||||
if(!dojo._hasResource["dijit._Templated"]){dojo._hasResource["dijit._Templated"]=true;dojo.provide("dijit._Templated");dojo.require("dijit._Widget");dojo.require("dojo.string");dojo.require("dojo.parser");dojo.declare("dijit._Templated",null,{templateNode:null,templateString:null,templatePath:null,widgetsInTemplate:false,containerNode:null,_skipNodeCache:false,buildRendering:function(){var _1=dijit._Templated.getCachedTemplate(this.templatePath,this.templateString,this._skipNodeCache);var _2;if(dojo.isString(_1)){var _3=this.declaredClass,_4=this;var _5=dojo.string.substitute(_1,this,function(_6,_7){if(_7.charAt(0)=="!"){_6=_4[_7.substr(1)];}if(typeof _6=="undefined"){throw new Error(_3+" template:"+_7);}if(!_6){return "";}return _7.charAt(0)=="!"?_6:_6.toString().replace(/"/g,""");},this);_2=dijit._Templated._createNodesFromText(_5)[0];}else{_2=_1.cloneNode(true);}this._attachTemplateNodes(_2);var _8=this.srcNodeRef;if(_8&&_8.parentNode){_8.parentNode.replaceChild(_2,_8);}this.domNode=_2;if(this.widgetsInTemplate){var _9=dojo.parser.parse(_2);this._attachTemplateNodes(_9,function(n,p){return n[p];});}this._fillContent(_8);},_fillContent:function(_c){var _d=this.containerNode;if(_c&&_d){while(_c.hasChildNodes()){_d.appendChild(_c.firstChild);}}},_attachTemplateNodes:function(_e,_f){_f=_f||function(n,p){return n.getAttribute(p);};var _12=dojo.isArray(_e)?_e:(_e.all||_e.getElementsByTagName("*"));var x=dojo.isArray(_e)?0:-1;for(;x<_12.length;x++){var _14=(x==-1)?_e:_12[x];if(this.widgetsInTemplate&&_f(_14,"dojoType")){continue;}var _15=_f(_14,"dojoAttachPoint");if(_15){var _16,_17=_15.split(/\s*,\s*/);while(_16=_17.shift()){if(dojo.isArray(this[_16])){this[_16].push(_14);}else{this[_16]=_14;}}}var _18=_f(_14,"dojoAttachEvent");if(_18){var _19,_1a=_18.split(/\s*,\s*/);var _1b=dojo.trim;while(_19=_1a.shift()){if(_19){var _1c=null;if(_19.indexOf(":")!=-1){var _1d=_19.split(":");_19=_1b(_1d[0]);_1c=_1b(_1d[1]);}else{_19=_1b(_19);}if(!_1c){_1c=_19;}this.connect(_14,_19,_1c);}}}var _1e=_f(_14,"waiRole");if(_1e){dijit.setWaiRole(_14,_1e);}var _1f=_f(_14,"waiState");if(_1f){dojo.forEach(_1f.split(/\s*,\s*/),function(_20){if(_20.indexOf("-")!=-1){var _21=_20.split("-");dijit.setWaiState(_14,_21[0],_21[1]);}});}}}});dijit._Templated._templateCache={};dijit._Templated.getCachedTemplate=function(_22,_23,_24){var _25=dijit._Templated._templateCache;var key=_23||_22;var _27=_25[key];if(_27){return _27;}if(!_23){_23=dijit._Templated._sanitizeTemplateString(dojo._getText(_22));}_23=dojo.string.trim(_23);if(_23.match(/\$\{([^\}]+)\}/g)||_24){return (_25[key]=_23);}else{return (_25[key]=dijit._Templated._createNodesFromText(_23)[0]);}};dijit._Templated._sanitizeTemplateString=function(_28){if(_28){_28=_28.replace(/^\s*<\?xml(\s)+version=[\'\"](\d)*.(\d)*[\'\"](\s)*\?>/im,"");var _29=_28.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);if(_29){_28=_29[1];}}else{_28="";}return _28;};if(dojo.isIE){dojo.addOnUnload(function(){var _2a=dijit._Templated._templateCache;for(var key in _2a){var _2c=_2a[key];if(!isNaN(_2c.nodeType)){dojo._destroyElement(_2c);}delete _2a[key];}});}(function(){var _2d={cell:{re:/^<t[dh][\s\r\n>]/i,pre:"<table><tbody><tr>",post:"</tr></tbody></table>"},row:{re:/^<tr[\s\r\n>]/i,pre:"<table><tbody>",post:"</tbody></table>"},section:{re:/^<(thead|tbody|tfoot)[\s\r\n>]/i,pre:"<table>",post:"</table>"}};var tn;dijit._Templated._createNodesFromText=function(_2f){if(!tn){tn=dojo.doc.createElement("div");tn.style.display="none";dojo.body().appendChild(tn);}var _30="none";var _31=_2f.replace(/^\s+/,"");for(var _32 in _2d){var map=_2d[_32];if(map.re.test(_31)){_30=_32;_2f=map.pre+_2f+map.post;break;}}tn.innerHTML=_2f;if(tn.normalize){tn.normalize();}var tag={cell:"tr",row:"tbody",section:"table"}[_30];var _35=(typeof tag!="undefined")?tn.getElementsByTagName(tag)[0]:tn;var _36=[];while(_35.firstChild){_36.push(_35.removeChild(_35.firstChild));}tn.innerHTML="";return _36;};})();dojo.extend(dijit._Widget,{dojoAttachEvent:"",dojoAttachPoint:"",waiRole:"",waiState:""});}
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright (c) 2004-2008, The Dojo Foundation
|
||||
Copyright (c) 2004-2007, The Dojo Foundation
|
||||
All Rights Reserved.
|
||||
|
||||
Licensed under the Academic Free License version 2.1 or above OR the
|
||||
@@ -9,4 +9,4 @@
|
||||
*/
|
||||
|
||||
|
||||
if(!dojo._hasResource["dijit._TimePicker"]){dojo._hasResource["dijit._TimePicker"]=true;dojo.provide("dijit._TimePicker");dojo.require("dijit.form._FormWidget");dojo.require("dojo.date.locale");dojo.declare("dijit._TimePicker",[dijit._Widget,dijit._Templated],{templateString:"<div id=\"widget_${id}\" class=\"dijitMenu\"\n ><div dojoAttachPoint=\"upArrow\" class=\"dijitButtonNode\"><span class=\"dijitTimePickerA11yText\">▲</span></div\n ><div dojoAttachPoint=\"timeMenu,focusNode\" dojoAttachEvent=\"onclick:_onOptionSelected,onmouseover,onmouseout\"></div\n ><div dojoAttachPoint=\"downArrow\" class=\"dijitButtonNode\"><span class=\"dijitTimePickerA11yText\">▼</span></div\n></div>\n",baseClass:"dijitTimePicker",clickableIncrement:"T00:15:00",visibleIncrement:"T01:00:00",visibleRange:"T05:00:00",value:new Date(),_visibleIncrement:2,_clickableIncrement:1,_totalIncrements:10,constraints:{},serialize:dojo.date.stamp.toISOString,setValue:function(_1,_2){this.value=_1;this._showText();},isDisabledDate:function(_3,_4){return false;},_showText:function(){this.timeMenu.innerHTML="";var _5=dojo.date.stamp.fromISOString;this._clickableIncrementDate=_5(this.clickableIncrement);this._visibleIncrementDate=_5(this.visibleIncrement);this._visibleRangeDate=_5(this.visibleRange);var _6=function(_7){return _7.getHours()*60*60+_7.getMinutes()*60+_7.getSeconds();};var _8=_6(this._clickableIncrementDate);var _9=_6(this._visibleIncrementDate);var _a=_6(this._visibleRangeDate);var _b=this.value.getTime();this._refDate=new Date(_b-_b%(_9*1000));this._refDate.setFullYear(1970,0,1);this._clickableIncrement=1;this._totalIncrements=_a/_8;this._visibleIncrement=_9/_8;for(var i=-(this._totalIncrements>>1);i<(this._totalIncrements>>1);i+=this._clickableIncrement){this.timeMenu.appendChild(this._createOption(i));}},postCreate:function(){if(this.constraints===dijit._TimePicker.prototype.constraints){this.constraints={};}dojo.mixin(this,this.constraints);if(!this.constraints.locale){this.constraints.locale=this.lang;}this.connect(this.timeMenu,dojo.isIE?"onmousewheel":"DOMMouseScroll","_mouseWheeled");var _d=dijit.typematic.addMouseListener;_d(this.upArrow,this,this._onArrowUp,0.8,500);_d(this.downArrow,this,this._onArrowDown,0.8,500);this.inherited(arguments);this.setValue(this.value);},_createOption:function(_e){var _f=dojo.doc.createElement("div");var _10=(_f.date=new Date(this._refDate));_f.index=_e;var _11=this._clickableIncrementDate;_10.setHours(_10.getHours()+_11.getHours()*_e,_10.getMinutes()+_11.getMinutes()*_e,_10.getSeconds()+_11.getSeconds()*_e);var _12=dojo.doc.createElement("div");dojo.addClass(_f,this.baseClass+"Item");dojo.addClass(_12,this.baseClass+"ItemInner");_12.innerHTML=dojo.date.locale.format(_10,this.constraints);_f.appendChild(_12);if(_e%this._visibleIncrement<1&&_e%this._visibleIncrement>-1){dojo.addClass(_f,this.baseClass+"Marker");}else{if(!(_e%this._clickableIncrement)){dojo.addClass(_f,this.baseClass+"Tick");}}if(this.isDisabledDate(_10)){dojo.addClass(_f,this.baseClass+"ItemDisabled");}if(!dojo.date.compare(this.value,_10,this.constraints.selector)){_f.selected=true;dojo.addClass(_f,this.baseClass+"ItemSelected");}return _f;},_onOptionSelected:function(tgt){var _14=tgt.target.date||tgt.target.parentNode.date;if(!_14||this.isDisabledDate(_14)){return;}this.setValue(_14);this.onValueSelected(_14);},onValueSelected:function(_15){},onmouseover:function(e){var tgr=(e.target.parentNode===this.timeMenu)?e.target:e.target.parentNode;this._highlighted_option=tgr;dojo.addClass(tgr,this.baseClass+"ItemHover");},onmouseout:function(e){var tgr=(e.target.parentNode===this.timeMenu)?e.target:e.target.parentNode;if(this._highlighted_option===tgr){dojo.removeClass(tgr,this.baseClass+"ItemHover");}},_mouseWheeled:function(e){dojo.stopEvent(e);var _1b=(dojo.isIE?e.wheelDelta:-e.detail);this[(_1b>0?"_onArrowUp":"_onArrowDown")]();},_onArrowUp:function(){var _1c=this.timeMenu.childNodes[0].index-1;var div=this._createOption(_1c);this.timeMenu.removeChild(this.timeMenu.childNodes[this.timeMenu.childNodes.length-1]);this.timeMenu.insertBefore(div,this.timeMenu.childNodes[0]);},_onArrowDown:function(){var _1e=this.timeMenu.childNodes[this.timeMenu.childNodes.length-1].index+1;var div=this._createOption(_1e);this.timeMenu.removeChild(this.timeMenu.childNodes[0]);this.timeMenu.appendChild(div);}});}
|
||||
if(!dojo._hasResource["dijit._TimePicker"]){dojo._hasResource["dijit._TimePicker"]=true;dojo.provide("dijit._TimePicker");dojo.require("dijit.form._FormWidget");dojo.require("dojo.date.locale");dojo.declare("dijit._TimePicker",[dijit._Widget,dijit._Templated],{templateString:"<div id=\"widget_${id}\" class=\"dijitMenu\"\n ><div dojoAttachPoint=\"upArrow\" class=\"dijitButtonNode\"><span class=\"dijitTimePickerA11yText\">▲</span></div\n ><div dojoAttachPoint=\"timeMenu,focusNode\" dojoAttachEvent=\"onclick:_onOptionSelected,onmouseover,onmouseout\"></div\n ><div dojoAttachPoint=\"downArrow\" class=\"dijitButtonNode\"><span class=\"dijitTimePickerA11yText\">▼</span></div\n></div>\n",baseClass:"dijitTimePicker",clickableIncrement:"T00:15:00",visibleIncrement:"T01:00:00",visibleRange:"T05:00:00",value:new Date(),_visibleIncrement:2,_clickableIncrement:1,_totalIncrements:10,constraints:{},serialize:dojo.date.stamp.toISOString,setValue:function(_1,_2){this.value=_1;this._showText();},isDisabledDate:function(_3,_4){return false;},_showText:function(){this.timeMenu.innerHTML="";var _5=dojo.date.stamp.fromISOString;this._clickableIncrementDate=_5(this.clickableIncrement);this._visibleIncrementDate=_5(this.visibleIncrement);this._visibleRangeDate=_5(this.visibleRange);var _6=function(_7){return _7.getHours()*60*60+_7.getMinutes()*60+_7.getSeconds();};var _8=_6(this._clickableIncrementDate);var _9=_6(this._visibleIncrementDate);var _a=_6(this._visibleRangeDate);var _b=this.value.getTime();this._refDate=new Date(_b-_b%(_9*1000));this._clickableIncrement=1;this._totalIncrements=_a/_8;this._visibleIncrement=_9/_8;for(var i=-this._totalIncrements/2;i<=this._totalIncrements/2;i+=this._clickableIncrement){var _d=this._createOption(i);this.timeMenu.appendChild(_d);}},postCreate:function(){if(this.constraints===dijit._TimePicker.prototype.constraints){this.constraints={};}if(!this.constraints.locale){this.constraints.locale=this.lang;}this.connect(this.timeMenu,dojo.isIE?"onmousewheel":"DOMMouseScroll","_mouseWheeled");dijit.typematic.addMouseListener(this.upArrow,this,this._onArrowUp,0.8,500);dijit.typematic.addMouseListener(this.downArrow,this,this._onArrowDown,0.8,500);this.inherited("postCreate",arguments);this.setValue(this.value);},_createOption:function(_e){var _f=document.createElement("div");var _10=(_f.date=new Date(this._refDate));_f.index=_e;var _11=this._clickableIncrementDate;_10.setHours(_10.getHours()+_11.getHours()*_e,_10.getMinutes()+_11.getMinutes()*_e,_10.getSeconds()+_11.getSeconds()*_e);var _12=document.createElement("div");dojo.addClass(_f,this.baseClass+"Item");dojo.addClass(_12,this.baseClass+"ItemInner");_12.innerHTML=dojo.date.locale.format(_10,this.constraints);_f.appendChild(_12);if(_e%this._visibleIncrement<1&&_e%this._visibleIncrement>-1){dojo.addClass(_f,this.baseClass+"Marker");}else{if(_e%this._clickableIncrement==0){dojo.addClass(_f,this.baseClass+"Tick");}}if(this.isDisabledDate(_10)){dojo.addClass(_f,this.baseClass+"ItemDisabled");}if(dojo.date.compare(this.value,_10,this.constraints.selector)==0){_f.selected=true;dojo.addClass(_f,this.baseClass+"ItemSelected");}return _f;},_onOptionSelected:function(tgt){var _14=tgt.target.date||tgt.target.parentNode.date;if(!_14||this.isDisabledDate(_14)){return;}this.setValue(_14);this.onValueSelected(_14);},onValueSelected:function(_15){},onmouseover:function(e){var tgr=(e.target.parentNode===this.timeMenu)?e.target:e.target.parentNode;this._highlighted_option=tgr;dojo.addClass(tgr,this.baseClass+"ItemHover");},onmouseout:function(e){var tgr=(e.target.parentNode===this.timeMenu)?e.target:e.target.parentNode;if(this._highlighted_option===tgr){dojo.removeClass(tgr,this.baseClass+"ItemHover");}},_mouseWheeled:function(e){dojo.stopEvent(e);var _1b=(dojo.isIE?e.wheelDelta:-e.detail);this[(_1b>0?"_onArrowUp":"_onArrowDown")]();},_onArrowUp:function(){var _1c=this.timeMenu.childNodes[0].index-1;var div=this._createOption(_1c);this.timeMenu.removeChild(this.timeMenu.childNodes[this.timeMenu.childNodes.length-1]);this.timeMenu.insertBefore(div,this.timeMenu.childNodes[0]);},_onArrowDown:function(){var _1e=this.timeMenu.childNodes[this.timeMenu.childNodes.length-1].index+1;var div=this._createOption(_1e);this.timeMenu.removeChild(this.timeMenu.childNodes[0]);this.timeMenu.appendChild(div);}});}
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright (c) 2004-2008, The Dojo Foundation
|
||||
Copyright (c) 2004-2007, The Dojo Foundation
|
||||
All Rights Reserved.
|
||||
|
||||
Licensed under the Academic Free License version 2.1 or above OR the
|
||||
@@ -9,4 +9,4 @@
|
||||
*/
|
||||
|
||||
|
||||
if(!dojo._hasResource["dijit._Widget"]){dojo._hasResource["dijit._Widget"]=true;dojo.provide("dijit._Widget");dojo.require("dijit._base");dojo.declare("dijit._Widget",null,{id:"",lang:"",dir:"","class":"",style:"",title:"",srcNodeRef:null,domNode:null,attributeMap:{id:"",dir:"",lang:"","class":"",style:"",title:""},postscript:function(_1,_2){this.create(_1,_2);},create:function(_3,_4){this.srcNodeRef=dojo.byId(_4);this._connects=[];this._attaches=[];if(this.srcNodeRef&&(typeof this.srcNodeRef.id=="string")){this.id=this.srcNodeRef.id;}if(_3){this.params=_3;dojo.mixin(this,_3);}this.postMixInProperties();if(!this.id){this.id=dijit.getUniqueId(this.declaredClass.replace(/\./g,"_"));}dijit.registry.add(this);this.buildRendering();if(this.domNode){for(var _5 in this.attributeMap){var _6=this[_5];if(typeof _6!="object"&&((_6!==""&&_6!==false)||(_3&&_3[_5]))){this.setAttribute(_5,_6);}}}if(this.domNode){this.domNode.setAttribute("widgetId",this.id);}this.postCreate();if(this.srcNodeRef&&!this.srcNodeRef.parentNode){delete this.srcNodeRef;}},postMixInProperties:function(){},buildRendering:function(){this.domNode=this.srcNodeRef||dojo.doc.createElement("div");},postCreate:function(){},startup:function(){this._started=true;},destroyRecursive:function(_7){this.destroyDescendants();this.destroy();},destroy:function(_8){this.uninitialize();dojo.forEach(this._connects,function(_9){dojo.forEach(_9,dojo.disconnect);});dojo.forEach(this._supportingWidgets||[],function(w){w.destroy();});this.destroyRendering(_8);dijit.registry.remove(this.id);},destroyRendering:function(_b){if(this.bgIframe){this.bgIframe.destroy();delete this.bgIframe;}if(this.domNode){dojo._destroyElement(this.domNode);delete this.domNode;}if(this.srcNodeRef){dojo._destroyElement(this.srcNodeRef);delete this.srcNodeRef;}},destroyDescendants:function(){dojo.forEach(this.getDescendants(),function(_c){_c.destroy();});},uninitialize:function(){return false;},onFocus:function(){},onBlur:function(){},_onFocus:function(e){this.onFocus();},_onBlur:function(){this.onBlur();},setAttribute:function(_e,_f){var _10=this[this.attributeMap[_e]||"domNode"];this[_e]=_f;switch(_e){case "class":dojo.addClass(_10,_f);break;case "style":if(_10.style.cssText){_10.style.cssText+="; "+_f;}else{_10.style.cssText=_f;}break;default:if(/^on[A-Z]/.test(_e)){_e=_e.toLowerCase();}if(typeof _f=="function"){_f=dojo.hitch(this,_f);}dojo.attr(_10,_e,_f);}},toString:function(){return "[Widget "+this.declaredClass+", "+(this.id||"NO ID")+"]";},getDescendants:function(){if(this.containerNode){var _11=dojo.query("[widgetId]",this.containerNode);return _11.map(dijit.byNode);}else{return [];}},nodesWithKeyClick:["input","button"],connect:function(obj,_13,_14){var _15=[];if(_13=="ondijitclick"){if(!this.nodesWithKeyClick[obj.nodeName]){_15.push(dojo.connect(obj,"onkeydown",this,function(e){if(e.keyCode==dojo.keys.ENTER){return (dojo.isString(_14))?this[_14](e):_14.call(this,e);}else{if(e.keyCode==dojo.keys.SPACE){dojo.stopEvent(e);}}}));_15.push(dojo.connect(obj,"onkeyup",this,function(e){if(e.keyCode==dojo.keys.SPACE){return dojo.isString(_14)?this[_14](e):_14.call(this,e);}}));}_13="onclick";}_15.push(dojo.connect(obj,_13,this,_14));this._connects.push(_15);return _15;},disconnect:function(_18){for(var i=0;i<this._connects.length;i++){if(this._connects[i]==_18){dojo.forEach(_18,dojo.disconnect);this._connects.splice(i,1);return;}}},isLeftToRight:function(){if(!("_ltr" in this)){this._ltr=dojo.getComputedStyle(this.domNode).direction!="rtl";}return this._ltr;},isFocusable:function(){return this.focus&&(dojo.style(this.domNode,"display")!="none");}});}
|
||||
if(!dojo._hasResource["dijit._Widget"]){dojo._hasResource["dijit._Widget"]=true;dojo.provide("dijit._Widget");dojo.require("dijit._base");dojo.declare("dijit._Widget",null,{id:"",lang:"",dir:"","class":"",style:"",title:"",srcNodeRef:null,domNode:null,attributeMap:{id:"",dir:"",lang:"","class":"",style:"",title:""},postscript:function(_1,_2){this.create(_1,_2);},create:function(_3,_4){this.srcNodeRef=dojo.byId(_4);this._connects=[];this._attaches=[];if(this.srcNodeRef&&(typeof this.srcNodeRef.id=="string")){this.id=this.srcNodeRef.id;}if(_3){dojo.mixin(this,_3);}this.postMixInProperties();if(!this.id){this.id=dijit.getUniqueId(this.declaredClass.replace(/\./g,"_"));}dijit.registry.add(this);this.buildRendering();if(this.domNode){for(var _5 in this.attributeMap){var _6=this[this.attributeMap[_5]||"domNode"];var _7=this[_5];if(typeof _7!="object"&&(_7!==""||(_3&&_3[_5]))){switch(_5){case "class":dojo.addClass(_6,_7);break;case "style":if(_6.style.cssText){_6.style.cssText+="; "+_7;}else{_6.style.cssText=_7;}break;default:_6.setAttribute(_5,_7);}}}}if(this.domNode){this.domNode.setAttribute("widgetId",this.id);}this.postCreate();if(this.srcNodeRef&&!this.srcNodeRef.parentNode){delete this.srcNodeRef;}},postMixInProperties:function(){},buildRendering:function(){this.domNode=this.srcNodeRef||dojo.doc.createElement("div");},postCreate:function(){},startup:function(){},destroyRecursive:function(_8){this.destroyDescendants();this.destroy();},destroy:function(_9){this.uninitialize();dojo.forEach(this._connects,function(_a){dojo.forEach(_a,dojo.disconnect);});this.destroyRendering(_9);dijit.registry.remove(this.id);},destroyRendering:function(_b){if(this.bgIframe){this.bgIframe.destroy();delete this.bgIframe;}if(this.domNode){dojo._destroyElement(this.domNode);delete this.domNode;}if(this.srcNodeRef){dojo._destroyElement(this.srcNodeRef);delete this.srcNodeRef;}},destroyDescendants:function(){dojo.forEach(this.getDescendants(),function(_c){_c.destroy();});},uninitialize:function(){return false;},toString:function(){return "[Widget "+this.declaredClass+", "+(this.id||"NO ID")+"]";},getDescendants:function(){var _d=dojo.query("[widgetId]",this.domNode);return _d.map(dijit.byNode);},nodesWithKeyClick:["input","button"],connect:function(_e,_f,_10){var _11=[];if(_f=="ondijitclick"){var w=this;if(!this.nodesWithKeyClick[_e.nodeName]){_11.push(dojo.connect(_e,"onkeydown",this,function(e){if(e.keyCode==dojo.keys.ENTER){return (dojo.isString(_10))?w[_10](e):_10.call(w,e);}else{if(e.keyCode==dojo.keys.SPACE){dojo.stopEvent(e);}}}));_11.push(dojo.connect(_e,"onkeyup",this,function(e){if(e.keyCode==dojo.keys.SPACE){return dojo.isString(_10)?w[_10](e):_10.call(w,e);}}));}_f="onclick";}_11.push(dojo.connect(_e,_f,this,_10));this._connects.push(_11);return _11;},disconnect:function(_15){for(var i=0;i<this._connects.length;i++){if(this._connects[i]==_15){dojo.forEach(_15,dojo.disconnect);this._connects.splice(i,1);return;}}},isLeftToRight:function(){if(typeof this._ltr=="undefined"){this._ltr=dojo.getComputedStyle(this.domNode).direction!="rtl";}return this._ltr;},isFocusable:function(){return this.focus&&(dojo.style(this.domNode,"display")!="none");}});}
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright (c) 2004-2008, The Dojo Foundation
|
||||
Copyright (c) 2004-2007, The Dojo Foundation
|
||||
All Rights Reserved.
|
||||
|
||||
Licensed under the Academic Free License version 2.1 or above OR the
|
||||
@@ -9,4 +9,4 @@
|
||||
*/
|
||||
|
||||
|
||||
if(!dojo._hasResource["dijit._base"]){dojo._hasResource["dijit._base"]=true;dojo.provide("dijit._base");dojo.require("dijit._base.focus");dojo.require("dijit._base.manager");dojo.require("dijit._base.place");dojo.require("dijit._base.popup");dojo.require("dijit._base.scroll");dojo.require("dijit._base.sniff");dojo.require("dijit._base.bidi");dojo.require("dijit._base.typematic");dojo.require("dijit._base.wai");dojo.require("dijit._base.window");if(dojo.isSafari){dojo.connect(window,"load",function(){window.resizeBy(1,0);setTimeout(function(){window.resizeBy(-1,0);},10);});}}
|
||||
if(!dojo._hasResource["dijit._base"]){dojo._hasResource["dijit._base"]=true;dojo.provide("dijit._base");dojo.require("dijit._base.focus");dojo.require("dijit._base.manager");dojo.require("dijit._base.place");dojo.require("dijit._base.popup");dojo.require("dijit._base.scroll");dojo.require("dijit._base.sniff");dojo.require("dijit._base.bidi");dojo.require("dijit._base.typematic");dojo.require("dijit._base.wai");dojo.require("dijit._base.window");}
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright (c) 2004-2008, The Dojo Foundation
|
||||
Copyright (c) 2004-2007, The Dojo Foundation
|
||||
All Rights Reserved.
|
||||
|
||||
Licensed under the Academic Free License version 2.1 or above OR the
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright (c) 2004-2008, The Dojo Foundation
|
||||
Copyright (c) 2004-2007, The Dojo Foundation
|
||||
All Rights Reserved.
|
||||
|
||||
Licensed under the Academic Free License version 2.1 or above OR the
|
||||
@@ -9,4 +9,4 @@
|
||||
*/
|
||||
|
||||
|
||||
if(!dojo._hasResource["dijit._base.focus"]){dojo._hasResource["dijit._base.focus"]=true;dojo.provide("dijit._base.focus");dojo.mixin(dijit,{_curFocus:null,_prevFocus:null,isCollapsed:function(){var _1=dojo.global;var _2=dojo.doc;if(_2.selection){return !_2.selection.createRange().text;}else{var _3=_1.getSelection();if(dojo.isString(_3)){return !_3;}else{return _3.isCollapsed||!_3.toString();}}},getBookmark:function(){var _4,_5=dojo.doc.selection;if(_5){var _6=_5.createRange();if(_5.type.toUpperCase()=="CONTROL"){if(_6.length){_4=[];var i=0,_8=_6.length;while(i<_8){_4.push(_6.item(i++));}}else{_4=null;}}else{_4=_6.getBookmark();}}else{if(window.getSelection){_5=dojo.global.getSelection();if(_5){_6=_5.getRangeAt(0);_4=_6.cloneRange();}}else{console.warn("No idea how to store the current selection for this browser!");}}return _4;},moveToBookmark:function(_9){var _a=dojo.doc;if(_a.selection){var _b;if(dojo.isArray(_9)){_b=_a.body.createControlRange();dojo.forEach(_9,"range.addElement(item)");}else{_b=_a.selection.createRange();_b.moveToBookmark(_9);}_b.select();}else{var _c=dojo.global.getSelection&&dojo.global.getSelection();if(_c&&_c.removeAllRanges){_c.removeAllRanges();_c.addRange(_9);}else{console.warn("No idea how to restore selection for this browser!");}}},getFocus:function(_d,_e){return {node:_d&&dojo.isDescendant(dijit._curFocus,_d.domNode)?dijit._prevFocus:dijit._curFocus,bookmark:!dojo.withGlobal(_e||dojo.global,dijit.isCollapsed)?dojo.withGlobal(_e||dojo.global,dijit.getBookmark):null,openedForWindow:_e};},focus:function(_f){if(!_f){return;}var _10="node" in _f?_f.node:_f,_11=_f.bookmark,_12=_f.openedForWindow;if(_10){var _13=(_10.tagName.toLowerCase()=="iframe")?_10.contentWindow:_10;if(_13&&_13.focus){try{_13.focus();}catch(e){}}dijit._onFocusNode(_10);}if(_11&&dojo.withGlobal(_12||dojo.global,dijit.isCollapsed)){if(_12){_12.focus();}try{dojo.withGlobal(_12||dojo.global,dijit.moveToBookmark,null,[_11]);}catch(e){}}},_activeStack:[],registerWin:function(_14){if(!_14){_14=window;}dojo.connect(_14.document,"onmousedown",function(evt){dijit._justMouseDowned=true;setTimeout(function(){dijit._justMouseDowned=false;},0);dijit._onTouchNode(evt.target||evt.srcElement);});var _16=_14.document.body||_14.document.getElementsByTagName("body")[0];if(_16){if(dojo.isIE){_16.attachEvent("onactivate",function(evt){if(evt.srcElement.tagName.toLowerCase()!="body"){dijit._onFocusNode(evt.srcElement);}});_16.attachEvent("ondeactivate",function(evt){dijit._onBlurNode(evt.srcElement);});}else{_16.addEventListener("focus",function(evt){dijit._onFocusNode(evt.target);},true);_16.addEventListener("blur",function(evt){dijit._onBlurNode(evt.target);},true);}}_16=null;},_onBlurNode:function(_1b){dijit._prevFocus=dijit._curFocus;dijit._curFocus=null;if(dijit._justMouseDowned){return;}if(dijit._clearActiveWidgetsTimer){clearTimeout(dijit._clearActiveWidgetsTimer);}dijit._clearActiveWidgetsTimer=setTimeout(function(){delete dijit._clearActiveWidgetsTimer;dijit._setStack([]);dijit._prevFocus=null;},100);},_onTouchNode:function(_1c){if(dijit._clearActiveWidgetsTimer){clearTimeout(dijit._clearActiveWidgetsTimer);delete dijit._clearActiveWidgetsTimer;}var _1d=[];try{while(_1c){if(_1c.dijitPopupParent){_1c=dijit.byId(_1c.dijitPopupParent).domNode;}else{if(_1c.tagName&&_1c.tagName.toLowerCase()=="body"){if(_1c===dojo.body()){break;}_1c=dijit.getDocumentWindow(_1c.ownerDocument).frameElement;}else{var id=_1c.getAttribute&&_1c.getAttribute("widgetId");if(id){_1d.unshift(id);}_1c=_1c.parentNode;}}}}catch(e){}dijit._setStack(_1d);},_onFocusNode:function(_1f){if(_1f&&_1f.tagName&&_1f.tagName.toLowerCase()=="body"){return;}dijit._onTouchNode(_1f);if(_1f==dijit._curFocus){return;}if(dijit._curFocus){dijit._prevFocus=dijit._curFocus;}dijit._curFocus=_1f;dojo.publish("focusNode",[_1f]);},_setStack:function(_20){var _21=dijit._activeStack;dijit._activeStack=_20;for(var _22=0;_22<Math.min(_21.length,_20.length);_22++){if(_21[_22]!=_20[_22]){break;}}for(var i=_21.length-1;i>=_22;i--){var _24=dijit.byId(_21[i]);if(_24){_24._focused=false;_24._hasBeenBlurred=true;if(_24._onBlur){_24._onBlur();}if(_24._setStateClass){_24._setStateClass();}dojo.publish("widgetBlur",[_24]);}}for(i=_22;i<_20.length;i++){_24=dijit.byId(_20[i]);if(_24){_24._focused=true;if(_24._onFocus){_24._onFocus();}if(_24._setStateClass){_24._setStateClass();}dojo.publish("widgetFocus",[_24]);}}}});dojo.addOnLoad(dijit.registerWin);}
|
||||
if(!dojo._hasResource["dijit._base.focus"]){dojo._hasResource["dijit._base.focus"]=true;dojo.provide("dijit._base.focus");dojo.mixin(dijit,{_curFocus:null,_prevFocus:null,isCollapsed:function(){var _1=dojo.global;var _2=dojo.doc;if(_2.selection){return !_2.selection.createRange().text;}else{if(_1.getSelection){var _3=_1.getSelection();if(dojo.isString(_3)){return !_3;}else{return _3.isCollapsed||!_3.toString();}}}},getBookmark:function(){var _4,_5=dojo.doc.selection;if(_5){var _6=_5.createRange();if(_5.type.toUpperCase()=="CONTROL"){_4=_6.length?dojo._toArray(_6):null;}else{_4=_6.getBookmark();}}else{if(dojo.global.getSelection){_5=dojo.global.getSelection();if(_5){var _6=_5.getRangeAt(0);_4=_6.cloneRange();}}else{console.debug("No idea how to store the current selection for this browser!");}}return _4;},moveToBookmark:function(_7){var _8=dojo.doc;if(_8.selection){var _9;if(dojo.isArray(_7)){_9=_8.body.createControlRange();dojo.forEach(_7,_9.addElement);}else{_9=_8.selection.createRange();_9.moveToBookmark(_7);}_9.select();}else{var _a=dojo.global.getSelection&&dojo.global.getSelection();if(_a&&_a.removeAllRanges){_a.removeAllRanges();_a.addRange(_7);}else{console.debug("No idea how to restore selection for this browser!");}}},getFocus:function(_b,_c){return {node:_b&&dojo.isDescendant(dijit._curFocus,_b.domNode)?dijit._prevFocus:dijit._curFocus,bookmark:!dojo.withGlobal(_c||dojo.global,dijit.isCollapsed)?dojo.withGlobal(_c||dojo.global,dijit.getBookmark):null,openedForWindow:_c};},focus:function(_d){if(!_d){return;}var _e="node" in _d?_d.node:_d,_f=_d.bookmark,_10=_d.openedForWindow;if(_e){var _11=(_e.tagName.toLowerCase()=="iframe")?_e.contentWindow:_e;if(_11&&_11.focus){try{_11.focus();}catch(e){}}dijit._onFocusNode(_e);}if(_f&&dojo.withGlobal(_10||dojo.global,dijit.isCollapsed)){if(_10){_10.focus();}try{dojo.withGlobal(_10||dojo.global,moveToBookmark,null,[_f]);}catch(e){}}},_activeStack:[],registerWin:function(_12){if(!_12){_12=window;}dojo.connect(_12.document,"onmousedown",null,function(evt){dijit._justMouseDowned=true;setTimeout(function(){dijit._justMouseDowned=false;},0);dijit._onTouchNode(evt.target||evt.srcElement);});var _14=_12.document.body||_12.document.getElementsByTagName("body")[0];if(_14){if(dojo.isIE){_14.attachEvent("onactivate",function(evt){if(evt.srcElement.tagName.toLowerCase()!="body"){dijit._onFocusNode(evt.srcElement);}});_14.attachEvent("ondeactivate",function(evt){dijit._onBlurNode(evt.srcElement);});}else{_14.addEventListener("focus",function(evt){dijit._onFocusNode(evt.target);},true);_14.addEventListener("blur",function(evt){dijit._onBlurNode(evt.target);},true);}}_14=null;},_onBlurNode:function(_19){dijit._prevFocus=dijit._curFocus;dijit._curFocus=null;var w=dijit.getEnclosingWidget(_19);if(w&&w._setStateClass){w._focused=false;w._setStateClass();}if(dijit._justMouseDowned){return;}if(dijit._clearActiveWidgetsTimer){clearTimeout(dijit._clearActiveWidgetsTimer);}dijit._clearActiveWidgetsTimer=setTimeout(function(){delete dijit._clearActiveWidgetsTimer;dijit._setStack([]);},100);},_onTouchNode:function(_1b){if(dijit._clearActiveWidgetsTimer){clearTimeout(dijit._clearActiveWidgetsTimer);delete dijit._clearActiveWidgetsTimer;}var _1c=[];try{while(_1b){if(_1b.dijitPopupParent){_1b=dijit.byId(_1b.dijitPopupParent).domNode;}else{if(_1b.tagName&&_1b.tagName.toLowerCase()=="body"){if(_1b===dojo.body()){break;}_1b=dojo.query("iframe").filter(function(_1d){return _1d.contentDocument.body===_1b;})[0];}else{var id=_1b.getAttribute&&_1b.getAttribute("widgetId");if(id){_1c.unshift(id);}_1b=_1b.parentNode;}}}}catch(e){}dijit._setStack(_1c);},_onFocusNode:function(_1f){if(_1f&&_1f.tagName&&_1f.tagName.toLowerCase()=="body"){return;}dijit._onTouchNode(_1f);if(_1f==dijit._curFocus){return;}dijit._prevFocus=dijit._curFocus;dijit._curFocus=_1f;dojo.publish("focusNode",[_1f]);var w=dijit.getEnclosingWidget(_1f);if(w&&w._setStateClass){w._focused=true;w._setStateClass();}},_setStack:function(_21){var _22=dijit._activeStack;dijit._activeStack=_21;for(var _23=0;_23<Math.min(_22.length,_21.length);_23++){if(_22[_23]!=_21[_23]){break;}}for(var i=_22.length-1;i>=_23;i--){var _25=dijit.byId(_22[i]);if(_25){dojo.publish("widgetBlur",[_25]);if(_25._onBlur){_25._onBlur();}}}for(var i=_23;i<_21.length;i++){var _25=dijit.byId(_21[i]);if(_25){dojo.publish("widgetFocus",[_25]);if(_25._onFocus){_25._onFocus();}}}}});dojo.addOnLoad(dijit.registerWin);}
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright (c) 2004-2008, The Dojo Foundation
|
||||
Copyright (c) 2004-2007, The Dojo Foundation
|
||||
All Rights Reserved.
|
||||
|
||||
Licensed under the Academic Free License version 2.1 or above OR the
|
||||
@@ -9,4 +9,4 @@
|
||||
*/
|
||||
|
||||
|
||||
if(!dojo._hasResource["dijit._base.manager"]){dojo._hasResource["dijit._base.manager"]=true;dojo.provide("dijit._base.manager");dojo.declare("dijit.WidgetSet",null,{constructor:function(){this._hash={};},add:function(_1){if(this._hash[_1.id]){throw new Error("Tried to register widget with id=="+_1.id+" but that id is already registered");}this._hash[_1.id]=_1;},remove:function(id){delete this._hash[id];},forEach:function(_3){for(var id in this._hash){_3(this._hash[id]);}},filter:function(_5){var _6=new dijit.WidgetSet();this.forEach(function(_7){if(_5(_7)){_6.add(_7);}});return _6;},byId:function(id){return this._hash[id];},byClass:function(_9){return this.filter(function(_a){return _a.declaredClass==_9;});}});dijit.registry=new dijit.WidgetSet();dijit._widgetTypeCtr={};dijit.getUniqueId=function(_b){var id;do{id=_b+"_"+(_b in dijit._widgetTypeCtr?++dijit._widgetTypeCtr[_b]:dijit._widgetTypeCtr[_b]=0);}while(dijit.byId(id));return id;};if(dojo.isIE){dojo.addOnUnload(function(){dijit.registry.forEach(function(_d){_d.destroy();});});}dijit.byId=function(id){return (dojo.isString(id))?dijit.registry.byId(id):id;};dijit.byNode=function(_f){return dijit.registry.byId(_f.getAttribute("widgetId"));};dijit.getEnclosingWidget=function(_10){while(_10){if(_10.getAttribute&&_10.getAttribute("widgetId")){return dijit.registry.byId(_10.getAttribute("widgetId"));}_10=_10.parentNode;}return null;};dijit._tabElements={area:true,button:true,input:true,object:true,select:true,textarea:true};dijit._isElementShown=function(_11){var _12=dojo.style(_11);return (_12.visibility!="hidden")&&(_12.visibility!="collapsed")&&(_12.display!="none");};dijit.isTabNavigable=function(_13){if(dojo.hasAttr(_13,"disabled")){return false;}var _14=dojo.hasAttr(_13,"tabindex");var _15=dojo.attr(_13,"tabindex");if(_14&&_15>=0){return true;}var _16=_13.nodeName.toLowerCase();if(((_16=="a"&&dojo.hasAttr(_13,"href"))||dijit._tabElements[_16])&&(!_14||_15>=0)){return true;}return false;};dijit._getTabNavigable=function(_17){var _18,_19,_1a,_1b,_1c,_1d;var _1e=function(_1f){dojo.query("> *",_1f).forEach(function(_20){var _21=dijit._isElementShown(_20);if(_21&&dijit.isTabNavigable(_20)){var _22=dojo.attr(_20,"tabindex");if(!dojo.hasAttr(_20,"tabindex")||_22==0){if(!_18){_18=_20;}_19=_20;}else{if(_22>0){if(!_1a||_22<_1b){_1b=_22;_1a=_20;}if(!_1c||_22>=_1d){_1d=_22;_1c=_20;}}}}if(_21){_1e(_20);}});};if(dijit._isElementShown(_17)){_1e(_17);}return {first:_18,last:_19,lowest:_1a,highest:_1c};};dijit.getFirstInTabbingOrder=function(_23){var _24=dijit._getTabNavigable(dojo.byId(_23));return _24.lowest?_24.lowest:_24.first;};dijit.getLastInTabbingOrder=function(_25){var _26=dijit._getTabNavigable(dojo.byId(_25));return _26.last?_26.last:_26.highest;};}
|
||||
if(!dojo._hasResource["dijit._base.manager"]){dojo._hasResource["dijit._base.manager"]=true;dojo.provide("dijit._base.manager");dojo.declare("dijit.WidgetSet",null,{constructor:function(){this._hash={};},add:function(_1){if(this._hash[_1.id]){throw new Error("Tried to register widget with id=="+_1.id+" but that id is already registered");}this._hash[_1.id]=_1;},remove:function(id){delete this._hash[id];},forEach:function(_3){for(var id in this._hash){_3(this._hash[id]);}},filter:function(_5){var _6=new dijit.WidgetSet();this.forEach(function(_7){if(_5(_7)){_6.add(_7);}});return _6;},byId:function(id){return this._hash[id];},byClass:function(_9){return this.filter(function(_a){return _a.declaredClass==_9;});}});dijit.registry=new dijit.WidgetSet();dijit._widgetTypeCtr={};dijit.getUniqueId=function(_b){var id;do{id=_b+"_"+(dijit._widgetTypeCtr[_b]!==undefined?++dijit._widgetTypeCtr[_b]:dijit._widgetTypeCtr[_b]=0);}while(dijit.byId(id));return id;};if(dojo.isIE){dojo.addOnUnload(function(){dijit.registry.forEach(function(_d){_d.destroy();});});}dijit.byId=function(id){return (dojo.isString(id))?dijit.registry.byId(id):id;};dijit.byNode=function(_f){return dijit.registry.byId(_f.getAttribute("widgetId"));};dijit.getEnclosingWidget=function(_10){while(_10){if(_10.getAttribute&&_10.getAttribute("widgetId")){return dijit.registry.byId(_10.getAttribute("widgetId"));}_10=_10.parentNode;}return null;};}
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright (c) 2004-2008, The Dojo Foundation
|
||||
Copyright (c) 2004-2007, The Dojo Foundation
|
||||
All Rights Reserved.
|
||||
|
||||
Licensed under the Academic Free License version 2.1 or above OR the
|
||||
@@ -9,4 +9,4 @@
|
||||
*/
|
||||
|
||||
|
||||
if(!dojo._hasResource["dijit._base.place"]){dojo._hasResource["dijit._base.place"]=true;dojo.provide("dijit._base.place");dijit.getViewport=function(){var _1=dojo.global;var _2=dojo.doc;var w=0,h=0;var de=_2.documentElement;var _6=de.clientWidth,_7=de.clientHeight;if(dojo.isMozilla){var _8,_9,_a,_b;var _c=_2.body.clientWidth;if(_c>_6){_8=_6;_a=_c;}else{_a=_6;_8=_c;}var _d=_2.body.clientHeight;if(_d>_7){_9=_7;_b=_d;}else{_b=_7;_9=_d;}w=(_a>_1.innerWidth)?_8:_a;h=(_b>_1.innerHeight)?_9:_b;}else{if(!dojo.isOpera&&_1.innerWidth){w=_1.innerWidth;h=_1.innerHeight;}else{if(dojo.isIE&&de&&_7){w=_6;h=_7;}else{if(dojo.body().clientWidth){w=dojo.body().clientWidth;h=dojo.body().clientHeight;}}}}var _e=dojo._docScroll();return {w:w,h:h,l:_e.x,t:_e.y};};dijit.placeOnScreen=function(_f,pos,_11,_12){var _13=dojo.map(_11,function(_14){return {corner:_14,pos:pos};});return dijit._place(_f,_13);};dijit._place=function(_15,_16,_17){var _18=dijit.getViewport();if(!_15.parentNode||String(_15.parentNode.tagName).toLowerCase()!="body"){dojo.body().appendChild(_15);}var _19=null;dojo.some(_16,function(_1a){var _1b=_1a.corner;var pos=_1a.pos;if(_17){_17(_15,_1a.aroundCorner,_1b);}var _1d=_15.style;var _1e=_1d.display;var _1f=_1d.visibility;_1d.visibility="hidden";_1d.display="";var mb=dojo.marginBox(_15);_1d.display=_1e;_1d.visibility=_1f;var _21=(_1b.charAt(1)=="L"?pos.x:Math.max(_18.l,pos.x-mb.w)),_22=(_1b.charAt(0)=="T"?pos.y:Math.max(_18.t,pos.y-mb.h)),_23=(_1b.charAt(1)=="L"?Math.min(_18.l+_18.w,_21+mb.w):pos.x),_24=(_1b.charAt(0)=="T"?Math.min(_18.t+_18.h,_22+mb.h):pos.y),_25=_23-_21,_26=_24-_22,_27=(mb.w-_25)+(mb.h-_26);if(_19==null||_27<_19.overflow){_19={corner:_1b,aroundCorner:_1a.aroundCorner,x:_21,y:_22,w:_25,h:_26,overflow:_27};}return !_27;});_15.style.left=_19.x+"px";_15.style.top=_19.y+"px";if(_19.overflow&&_17){_17(_15,_19.aroundCorner,_19.corner);}return _19;};dijit.placeOnScreenAroundElement=function(_28,_29,_2a,_2b){_29=dojo.byId(_29);var _2c=_29.style.display;_29.style.display="";var _2d=_29.offsetWidth;var _2e=_29.offsetHeight;var _2f=dojo.coords(_29,true);_29.style.display=_2c;var _30=[];for(var _31 in _2a){_30.push({aroundCorner:_31,corner:_2a[_31],pos:{x:_2f.x+(_31.charAt(1)=="L"?0:_2d),y:_2f.y+(_31.charAt(0)=="T"?0:_2e)}});}return dijit._place(_28,_30,_2b);};}
|
||||
if(!dojo._hasResource["dijit._base.place"]){dojo._hasResource["dijit._base.place"]=true;dojo.provide("dijit._base.place");dijit.getViewport=function(){var _1=dojo.global;var _2=dojo.doc;var w=0,h=0;if(dojo.isMozilla){var _5,_6,_7,_8;if(_2.body.clientWidth>_2.documentElement.clientWidth){_5=_2.documentElement.clientWidth;_7=_2.body.clientWidth;}else{_7=_2.documentElement.clientWidth;_5=_2.body.clientWidth;}if(_2.body.clientHeight>_2.documentElement.clientHeight){_6=_2.documentElement.clientHeight;_8=_2.body.clientHeight;}else{_8=_2.documentElement.clientHeight;_6=_2.body.clientHeight;}w=(_7>_1.innerWidth)?_5:_7;h=(_8>_1.innerHeight)?_6:_8;}else{if(!dojo.isOpera&&_1.innerWidth){w=_1.innerWidth;h=_1.innerHeight;}else{if(dojo.isIE&&_2.documentElement&&_2.documentElement.clientHeight){w=_2.documentElement.clientWidth;h=_2.documentElement.clientHeight;}else{if(dojo.body().clientWidth){w=dojo.body().clientWidth;h=dojo.body().clientHeight;}}}}var _9=dojo._docScroll();return {w:w,h:h,l:_9.x,t:_9.y};};dijit.placeOnScreen=function(_a,_b,_c,_d){var _e=dojo.map(_c,function(_f){return {corner:_f,pos:_b};});return dijit._place(_a,_e);};dijit._place=function(_10,_11,_12){var _13=dijit.getViewport();if(!_10.parentNode||String(_10.parentNode.tagName).toLowerCase()!="body"){dojo.body().appendChild(_10);}var _14=null;for(var i=0;i<_11.length;i++){var _16=_11[i].corner;var pos=_11[i].pos;if(_12){_12(_16);}var _18=_10.style.display;var _19=_10.style.visibility;_10.style.visibility="hidden";_10.style.display="";var mb=dojo.marginBox(_10);_10.style.display=_18;_10.style.visibility=_19;var _1b=(_16.charAt(1)=="L"?pos.x:Math.max(_13.l,pos.x-mb.w)),_1c=(_16.charAt(0)=="T"?pos.y:Math.max(_13.t,pos.y-mb.h)),_1d=(_16.charAt(1)=="L"?Math.min(_13.l+_13.w,_1b+mb.w):pos.x),_1e=(_16.charAt(0)=="T"?Math.min(_13.t+_13.h,_1c+mb.h):pos.y),_1f=_1d-_1b,_20=_1e-_1c,_21=(mb.w-_1f)+(mb.h-_20);if(_14==null||_21<_14.overflow){_14={corner:_16,aroundCorner:_11[i].aroundCorner,x:_1b,y:_1c,w:_1f,h:_20,overflow:_21};}if(_21==0){break;}}_10.style.left=_14.x+"px";_10.style.top=_14.y+"px";return _14;};dijit.placeOnScreenAroundElement=function(_22,_23,_24,_25){_23=dojo.byId(_23);var _26=_23.style.display;_23.style.display="";var _27=_23.offsetWidth;var _28=_23.offsetHeight;var _29=dojo.coords(_23,true);_23.style.display=_26;var _2a=[];for(var _2b in _24){_2a.push({aroundCorner:_2b,corner:_24[_2b],pos:{x:_29.x+(_2b.charAt(1)=="L"?0:_27),y:_29.y+(_2b.charAt(0)=="T"?0:_28)}});}return dijit._place(_22,_2a,_25);};}
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright (c) 2004-2008, The Dojo Foundation
|
||||
Copyright (c) 2004-2007, The Dojo Foundation
|
||||
All Rights Reserved.
|
||||
|
||||
Licensed under the Academic Free License version 2.1 or above OR the
|
||||
@@ -9,4 +9,4 @@
|
||||
*/
|
||||
|
||||
|
||||
if(!dojo._hasResource["dijit._base.popup"]){dojo._hasResource["dijit._base.popup"]=true;dojo.provide("dijit._base.popup");dojo.require("dijit._base.focus");dojo.require("dijit._base.place");dojo.require("dijit._base.window");dijit.popup=new function(){var _1=[],_2=1000,_3=1;this.prepare=function(_4){dojo.body().appendChild(_4);var s=_4.style;if(s.display=="none"){s.display="";}s.visibility="hidden";s.position="absolute";s.top="-9999px";};this.open=function(_6){var _7=_6.popup,_8=_6.orient||{"BL":"TL","TL":"BL"},_9=_6.around,id=(_6.around&&_6.around.id)?(_6.around.id+"_dropdown"):("popup_"+_3++);var _b=dojo.doc.createElement("div");dijit.setWaiRole(_b,"presentation");_b.id=id;_b.className="dijitPopup";_b.style.zIndex=_2+_1.length;_b.style.visibility="hidden";if(_6.parent){_b.dijitPopupParent=_6.parent.id;}dojo.body().appendChild(_b);var s=_7.domNode.style;s.display="";s.visibility="";s.position="";_b.appendChild(_7.domNode);var _d=new dijit.BackgroundIframe(_b);var _e=_9?dijit.placeOnScreenAroundElement(_b,_9,_8,_7.orient?dojo.hitch(_7,"orient"):null):dijit.placeOnScreen(_b,_6,_8=="R"?["TR","BR","TL","BL"]:["TL","BL","TR","BR"]);_b.style.visibility="visible";var _f=[];var _10=function(){for(var pi=_1.length-1;pi>0&&_1[pi].parent===_1[pi-1].widget;pi--){}return _1[pi];};_f.push(dojo.connect(_b,"onkeypress",this,function(evt){if(evt.keyCode==dojo.keys.ESCAPE&&_6.onCancel){dojo.stopEvent(evt);_6.onCancel();}else{if(evt.keyCode==dojo.keys.TAB){dojo.stopEvent(evt);var _13=_10();if(_13&&_13.onCancel){_13.onCancel();}}}}));if(_7.onCancel){_f.push(dojo.connect(_7,"onCancel",null,_6.onCancel));}_f.push(dojo.connect(_7,_7.onExecute?"onExecute":"onChange",null,function(){var _14=_10();if(_14&&_14.onExecute){_14.onExecute();}}));_1.push({wrapper:_b,iframe:_d,widget:_7,parent:_6.parent,onExecute:_6.onExecute,onCancel:_6.onCancel,onClose:_6.onClose,handlers:_f});if(_7.onOpen){_7.onOpen(_e);}return _e;};this.close=function(_15){while(dojo.some(_1,function(_16){return _16.widget==_15;})){var top=_1.pop(),_18=top.wrapper,_19=top.iframe,_1a=top.widget,_1b=top.onClose;if(_1a.onClose){_1a.onClose();}dojo.forEach(top.handlers,dojo.disconnect);if(!_1a||!_1a.domNode){return;}this.prepare(_1a.domNode);_19.destroy();dojo._destroyElement(_18);if(_1b){_1b();}}};}();dijit._frames=new function(){var _1c=[];this.pop=function(){var _1d;if(_1c.length){_1d=_1c.pop();_1d.style.display="";}else{if(dojo.isIE){var _1e="<iframe src='javascript:\"\"'"+" style='position: absolute; left: 0px; top: 0px;"+"z-index: -1; filter:Alpha(Opacity=\"0\");'>";_1d=dojo.doc.createElement(_1e);}else{_1d=dojo.doc.createElement("iframe");_1d.src="javascript:\"\"";_1d.className="dijitBackgroundIframe";}_1d.tabIndex=-1;dojo.body().appendChild(_1d);}return _1d;};this.push=function(_1f){_1f.style.display="";if(dojo.isIE){_1f.style.removeExpression("width");_1f.style.removeExpression("height");}_1c.push(_1f);};}();if(dojo.isIE&&dojo.isIE<7){dojo.addOnLoad(function(){var f=dijit._frames;dojo.forEach([f.pop()],f.push);});}dijit.BackgroundIframe=function(_21){if(!_21.id){throw new Error("no id");}if((dojo.isIE&&dojo.isIE<7)||(dojo.isFF&&dojo.isFF<3&&dojo.hasClass(dojo.body(),"dijit_a11y"))){var _22=dijit._frames.pop();_21.appendChild(_22);if(dojo.isIE){_22.style.setExpression("width",dojo._scopeName+".doc.getElementById('"+_21.id+"').offsetWidth");_22.style.setExpression("height",dojo._scopeName+".doc.getElementById('"+_21.id+"').offsetHeight");}this.iframe=_22;}};dojo.extend(dijit.BackgroundIframe,{destroy:function(){if(this.iframe){dijit._frames.push(this.iframe);delete this.iframe;}}});}
|
||||
if(!dojo._hasResource["dijit._base.popup"]){dojo._hasResource["dijit._base.popup"]=true;dojo.provide("dijit._base.popup");dojo.require("dijit._base.focus");dojo.require("dijit._base.place");dojo.require("dijit._base.window");dijit.popup=new function(){var _1=[],_2=1000,_3=1;this.open=function(_4){var _5=_4.popup,_6=_4.orient||{"BL":"TL","TL":"BL"},_7=_4.around,id=(_4.around&&_4.around.id)?(_4.around.id+"_dropdown"):("popup_"+_3++);var _9=dojo.doc.createElement("div");_9.id=id;_9.className="dijitPopup";_9.style.zIndex=_2+_1.length;_9.style.visibility="hidden";if(_4.parent){_9.dijitPopupParent=_4.parent.id;}dojo.body().appendChild(_9);_5.domNode.style.display="";_9.appendChild(_5.domNode);var _a=new dijit.BackgroundIframe(_9);var _b=_7?dijit.placeOnScreenAroundElement(_9,_7,_6,_5.orient?dojo.hitch(_5,"orient"):null):dijit.placeOnScreen(_9,_4,_6=="R"?["TR","BR","TL","BL"]:["TL","BL","TR","BR"]);_9.style.visibility="visible";var _c=[];function getTopPopup(){for(var pi=_1.length-1;pi>0&&_1[pi].parent===_1[pi-1].widget;pi--){}return _1[pi];};_c.push(dojo.connect(_9,"onkeypress",this,function(_e){if(_e.keyCode==dojo.keys.ESCAPE&&_4.onCancel){_4.onCancel();}else{if(_e.keyCode==dojo.keys.TAB){dojo.stopEvent(_e);var _f=getTopPopup();if(_f&&_f.onCancel){_f.onCancel();}}}}));if(_5.onCancel){_c.push(dojo.connect(_5,"onCancel",null,_4.onCancel));}_c.push(dojo.connect(_5,_5.onExecute?"onExecute":"onChange",null,function(){var _10=getTopPopup();if(_10&&_10.onExecute){_10.onExecute();}}));_1.push({wrapper:_9,iframe:_a,widget:_5,parent:_4.parent,onExecute:_4.onExecute,onCancel:_4.onCancel,onClose:_4.onClose,handlers:_c});if(_5.onOpen){_5.onOpen(_b);}return _b;};this.close=function(_11){while(dojo.some(_1,function(_12){return _12.widget==_11;})){var top=_1.pop(),_14=top.wrapper,_15=top.iframe,_16=top.widget,_17=top.onClose;if(_16.onClose){_16.onClose();}dojo.forEach(top.handlers,dojo.disconnect);if(!_16||!_16.domNode){return;}dojo.style(_16.domNode,"display","none");dojo.body().appendChild(_16.domNode);_15.destroy();dojo._destroyElement(_14);if(_17){_17();}}};}();dijit._frames=new function(){var _18=[];this.pop=function(){var _19;if(_18.length){_19=_18.pop();_19.style.display="";}else{if(dojo.isIE){var _1a="<iframe src='javascript:\"\"'"+" style='position: absolute; left: 0px; top: 0px;"+"z-index: -1; filter:Alpha(Opacity=\"0\");'>";_19=dojo.doc.createElement(_1a);}else{var _19=dojo.doc.createElement("iframe");_19.src="javascript:\"\"";_19.className="dijitBackgroundIframe";}_19.tabIndex=-1;dojo.body().appendChild(_19);}return _19;};this.push=function(_1b){_1b.style.display="";if(dojo.isIE){_1b.style.removeExpression("width");_1b.style.removeExpression("height");}_18.push(_1b);};}();if(dojo.isIE&&dojo.isIE<7){dojo.addOnLoad(function(){var f=dijit._frames;dojo.forEach([f.pop()],f.push);});}dijit.BackgroundIframe=function(_1d){if(!_1d.id){throw new Error("no id");}if((dojo.isIE&&dojo.isIE<7)||(dojo.isFF&&dojo.isFF<3&&dojo.hasClass(dojo.body(),"dijit_a11y"))){var _1e=dijit._frames.pop();_1d.appendChild(_1e);if(dojo.isIE){_1e.style.setExpression("width","document.getElementById('"+_1d.id+"').offsetWidth");_1e.style.setExpression("height","document.getElementById('"+_1d.id+"').offsetHeight");}this.iframe=_1e;}};dojo.extend(dijit.BackgroundIframe,{destroy:function(){if(this.iframe){dijit._frames.push(this.iframe);delete this.iframe;}}});}
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright (c) 2004-2008, The Dojo Foundation
|
||||
Copyright (c) 2004-2007, The Dojo Foundation
|
||||
All Rights Reserved.
|
||||
|
||||
Licensed under the Academic Free License version 2.1 or above OR the
|
||||
@@ -9,4 +9,4 @@
|
||||
*/
|
||||
|
||||
|
||||
if(!dojo._hasResource["dijit._base.scroll"]){dojo._hasResource["dijit._base.scroll"]=true;dojo.provide("dijit._base.scroll");dijit.scrollIntoView=function(_1){if(dojo.isMozilla){_1.scrollIntoView(false);}else{var _2=_1.parentNode;var _3=_2.scrollTop+dojo.marginBox(_2).h;var _4=_1.offsetTop+dojo.marginBox(_1).h;if(_3<_4){_2.scrollTop+=(_4-_3);}else{if(_2.scrollTop>_1.offsetTop){_2.scrollTop-=(_2.scrollTop-_1.offsetTop);}}}};}
|
||||
if(!dojo._hasResource["dijit._base.scroll"]){dojo._hasResource["dijit._base.scroll"]=true;dojo.provide("dijit._base.scroll");dijit.scrollIntoView=function(_1){if(dojo.isIE){if(dojo.marginBox(_1.parentNode).h<=_1.parentNode.scrollHeight){_1.scrollIntoView(false);}}else{if(dojo.isMozilla){_1.scrollIntoView(false);}else{var _2=_1.parentNode;var _3=_2.scrollTop+dojo.marginBox(_2).h;var _4=_1.offsetTop+dojo.marginBox(_1).h;if(_3<_4){_2.scrollTop+=(_4-_3);}else{if(_2.scrollTop>_1.offsetTop){_2.scrollTop-=(_2.scrollTop-_1.offsetTop);}}}}};}
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright (c) 2004-2008, The Dojo Foundation
|
||||
Copyright (c) 2004-2007, The Dojo Foundation
|
||||
All Rights Reserved.
|
||||
|
||||
Licensed under the Academic Free License version 2.1 or above OR the
|
||||
@@ -9,4 +9,4 @@
|
||||
*/
|
||||
|
||||
|
||||
if(!dojo._hasResource["dijit._base.sniff"]){dojo._hasResource["dijit._base.sniff"]=true;dojo.provide("dijit._base.sniff");(function(){var d=dojo;var ie=d.isIE;var _3=d.isOpera;var _4=Math.floor;var ff=d.isFF;var _6={dj_ie:ie,dj_ie6:_4(ie)==6,dj_ie7:_4(ie)==7,dj_iequirks:ie&&d.isQuirks,dj_opera:_3,dj_opera8:_4(_3)==8,dj_opera9:_4(_3)==9,dj_khtml:d.isKhtml,dj_safari:d.isSafari,dj_gecko:d.isMozilla,dj_ff2:_4(ff)==2};for(var p in _6){if(_6[p]){var _8=dojo.doc.documentElement;if(_8.className){_8.className+=" "+p;}else{_8.className=p;}}}})();}
|
||||
if(!dojo._hasResource["dijit._base.sniff"]){dojo._hasResource["dijit._base.sniff"]=true;dojo.provide("dijit._base.sniff");(function(){var d=dojo;var ie=d.isIE;var _3=d.isOpera;var _4=Math.floor;var _5={dj_ie:ie,dj_ie6:_4(ie)==6,dj_ie7:_4(ie)==7,dj_iequirks:ie&&d.isQuirks,dj_opera:_3,dj_opera8:_4(_3)==8,dj_opera9:_4(_3)==9,dj_khtml:d.isKhtml,dj_safari:d.isSafari,dj_gecko:d.isMozilla};for(var p in _5){if(_5[p]){var _7=dojo.doc.documentElement;if(_7.className){_7.className+=" "+p;}else{_7.className=p;}}}})();}
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright (c) 2004-2008, The Dojo Foundation
|
||||
Copyright (c) 2004-2007, The Dojo Foundation
|
||||
All Rights Reserved.
|
||||
|
||||
Licensed under the Academic Free License version 2.1 or above OR the
|
||||
@@ -9,4 +9,4 @@
|
||||
*/
|
||||
|
||||
|
||||
if(!dojo._hasResource["dijit._base.typematic"]){dojo._hasResource["dijit._base.typematic"]=true;dojo.provide("dijit._base.typematic");dijit.typematic={_fireEventAndReload:function(){this._timer=null;this._callback(++this._count,this._node,this._evt);this._currentTimeout=(this._currentTimeout<0)?this._initialDelay:((this._subsequentDelay>1)?this._subsequentDelay:Math.round(this._currentTimeout*this._subsequentDelay));this._timer=setTimeout(dojo.hitch(this,"_fireEventAndReload"),this._currentTimeout);},trigger:function(_1,_2,_3,_4,_5,_6,_7){if(_5!=this._obj){this.stop();this._initialDelay=_7||500;this._subsequentDelay=_6||0.9;this._obj=_5;this._evt=_1;this._node=_3;this._currentTimeout=-1;this._count=-1;this._callback=dojo.hitch(_2,_4);this._fireEventAndReload();}},stop:function(){if(this._timer){clearTimeout(this._timer);this._timer=null;}if(this._obj){this._callback(-1,this._node,this._evt);this._obj=null;}},addKeyListener:function(_8,_9,_a,_b,_c,_d){return [dojo.connect(_8,"onkeypress",this,function(_e){if(_e.keyCode==_9.keyCode&&(!_9.charCode||_9.charCode==_e.charCode)&&(_9.ctrlKey===undefined||_9.ctrlKey==_e.ctrlKey)&&(_9.altKey===undefined||_9.altKey==_e.ctrlKey)&&(_9.shiftKey===undefined||_9.shiftKey==_e.ctrlKey)){dojo.stopEvent(_e);dijit.typematic.trigger(_9,_a,_8,_b,_9,_c,_d);}else{if(dijit.typematic._obj==_9){dijit.typematic.stop();}}}),dojo.connect(_8,"onkeyup",this,function(_f){if(dijit.typematic._obj==_9){dijit.typematic.stop();}})];},addMouseListener:function(_10,_11,_12,_13,_14){var dc=dojo.connect;return [dc(_10,"mousedown",this,function(evt){dojo.stopEvent(evt);dijit.typematic.trigger(evt,_11,_10,_12,_10,_13,_14);}),dc(_10,"mouseup",this,function(evt){dojo.stopEvent(evt);dijit.typematic.stop();}),dc(_10,"mouseout",this,function(evt){dojo.stopEvent(evt);dijit.typematic.stop();}),dc(_10,"mousemove",this,function(evt){dojo.stopEvent(evt);}),dc(_10,"dblclick",this,function(evt){dojo.stopEvent(evt);if(dojo.isIE){dijit.typematic.trigger(evt,_11,_10,_12,_10,_13,_14);setTimeout(dojo.hitch(this,dijit.typematic.stop),50);}})];},addListener:function(_1b,_1c,_1d,_1e,_1f,_20,_21){return this.addKeyListener(_1c,_1d,_1e,_1f,_20,_21).concat(this.addMouseListener(_1b,_1e,_1f,_20,_21));}};}
|
||||
if(!dojo._hasResource["dijit._base.typematic"]){dojo._hasResource["dijit._base.typematic"]=true;dojo.provide("dijit._base.typematic");dijit.typematic={_fireEventAndReload:function(){this._timer=null;this._callback(++this._count,this._node,this._evt);this._currentTimeout=(this._currentTimeout<0)?this._initialDelay:((this._subsequentDelay>1)?this._subsequentDelay:Math.round(this._currentTimeout*this._subsequentDelay));this._timer=setTimeout(dojo.hitch(this,"_fireEventAndReload"),this._currentTimeout);},trigger:function(_1,_2,_3,_4,_5,_6,_7){if(_5!=this._obj){this.stop();this._initialDelay=_7||500;this._subsequentDelay=_6||0.9;this._obj=_5;this._evt=_1;this._node=_3;this._currentTimeout=-1;this._count=-1;this._callback=dojo.hitch(_2,_4);this._fireEventAndReload();}},stop:function(){if(this._timer){clearTimeout(this._timer);this._timer=null;}if(this._obj){this._callback(-1,this._node,this._evt);this._obj=null;}},addKeyListener:function(_8,_9,_a,_b,_c,_d){return [dojo.connect(_8,"onkeypress",this,function(_e){if(_e.keyCode==_9.keyCode&&(!_9.charCode||_9.charCode==_e.charCode)&&(_9.ctrlKey===undefined||_9.ctrlKey==_e.ctrlKey)&&(_9.altKey===undefined||_9.altKey==_e.ctrlKey)&&(_9.shiftKey===undefined||_9.shiftKey==_e.ctrlKey)){dojo.stopEvent(_e);dijit.typematic.trigger(_9,_a,_8,_b,_9,_c,_d);}else{if(dijit.typematic._obj==_9){dijit.typematic.stop();}}}),dojo.connect(_8,"onkeyup",this,function(_f){if(dijit.typematic._obj==_9){dijit.typematic.stop();}})];},addMouseListener:function(_10,_11,_12,_13,_14){var dc=dojo.connect;return [dc(_10,"mousedown",this,function(evt){dojo.stopEvent(evt);dijit.typematic.trigger(evt,_11,_10,_12,_10,_13,_14);}),dc(_10,"mouseup",this,function(evt){dojo.stopEvent(evt);dijit.typematic.stop();}),dc(_10,"mouseout",this,function(evt){dojo.stopEvent(evt);dijit.typematic.stop();}),dc(_10,"mousemove",this,function(evt){dojo.stopEvent(evt);}),dc(_10,"dblclick",this,function(evt){dojo.stopEvent(evt);if(dojo.isIE){dijit.typematic.trigger(evt,_11,_10,_12,_10,_13,_14);setTimeout(dijit.typematic.stop,50);}})];},addListener:function(_1b,_1c,_1d,_1e,_1f,_20,_21){return this.addKeyListener(_1c,_1d,_1e,_1f,_20,_21).concat(this.addMouseListener(_1b,_1e,_1f,_20,_21));}};}
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright (c) 2004-2008, The Dojo Foundation
|
||||
Copyright (c) 2004-2007, The Dojo Foundation
|
||||
All Rights Reserved.
|
||||
|
||||
Licensed under the Academic Free License version 2.1 or above OR the
|
||||
@@ -9,4 +9,4 @@
|
||||
*/
|
||||
|
||||
|
||||
if(!dojo._hasResource["dijit._base.wai"]){dojo._hasResource["dijit._base.wai"]=true;dojo.provide("dijit._base.wai");dijit.wai={onload:function(){var _1=dojo.doc.createElement("div");_1.id="a11yTestNode";_1.style.cssText="border: 1px solid;"+"border-color:red green;"+"position: absolute;"+"height: 5px;"+"top: -999px;"+"background-image: url(\""+dojo.moduleUrl("dojo","resources/blank.gif")+"\");";dojo.body().appendChild(_1);var cs=dojo.getComputedStyle(_1);if(cs){var _3=cs.backgroundImage;var _4=(cs.borderTopColor==cs.borderRightColor)||(_3!=null&&(_3=="none"||_3=="url(invalid-url:)"));dojo[_4?"addClass":"removeClass"](dojo.body(),"dijit_a11y");dojo.body().removeChild(_1);}}};if(dojo.isIE||dojo.isMoz){dojo._loaders.unshift(dijit.wai.onload);}dojo.mixin(dijit,{hasWaiRole:function(_5){return _5.hasAttribute?_5.hasAttribute("role"):!!_5.getAttribute("role");},getWaiRole:function(_6){var _7=_6.getAttribute("role");if(_7){var _8=_7.indexOf(":");return _8==-1?_7:_7.substring(_8+1);}else{return "";}},setWaiRole:function(_9,_a){_9.setAttribute("role",(dojo.isFF&&dojo.isFF<3)?"wairole:"+_a:_a);},removeWaiRole:function(_b){_b.removeAttribute("role");},hasWaiState:function(_c,_d){if(dojo.isFF&&dojo.isFF<3){return _c.hasAttributeNS("http://www.w3.org/2005/07/aaa",_d);}else{return _c.hasAttribute?_c.hasAttribute("aria-"+_d):!!_c.getAttribute("aria-"+_d);}},getWaiState:function(_e,_f){if(dojo.isFF&&dojo.isFF<3){return _e.getAttributeNS("http://www.w3.org/2005/07/aaa",_f);}else{var _10=_e.getAttribute("aria-"+_f);return _10?_10:"";}},setWaiState:function(_11,_12,_13){if(dojo.isFF&&dojo.isFF<3){_11.setAttributeNS("http://www.w3.org/2005/07/aaa","aaa:"+_12,_13);}else{_11.setAttribute("aria-"+_12,_13);}},removeWaiState:function(_14,_15){if(dojo.isFF&&dojo.isFF<3){_14.removeAttributeNS("http://www.w3.org/2005/07/aaa",_15);}else{_14.removeAttribute("aria-"+_15);}}});}
|
||||
if(!dojo._hasResource["dijit._base.wai"]){dojo._hasResource["dijit._base.wai"]=true;dojo.provide("dijit._base.wai");dijit.wai={onload:function(){var _1=document.createElement("div");_1.id="a11yTestNode";_1.style.cssText="border: 1px solid;"+"border-color:red green;"+"position: absolute;"+"height: 5px;"+"top: -999px;"+"background-image: url(\""+dojo.moduleUrl("dijit","form/templates/blank.gif")+"\");";dojo.body().appendChild(_1);function check(){var cs=dojo.getComputedStyle(_1);if(cs){var _3=cs.backgroundImage;var _4=(cs.borderTopColor==cs.borderRightColor)||(_3!=null&&(_3=="none"||_3=="url(invalid-url:)"));dojo[_4?"addClass":"removeClass"](dojo.body(),"dijit_a11y");}};check();if(dojo.isIE){setInterval(check,4000);}}};if(dojo.isIE||dojo.isMoz){dojo._loaders.unshift(dijit.wai.onload);}dojo.mixin(dijit,{hasWaiRole:function(_5){if(_5.hasAttribute){return _5.hasAttribute("role");}else{return _5.getAttribute("role")?true:false;}},getWaiRole:function(_6){var _7=_6.getAttribute("role");if(_7){var _8=_7.indexOf(":");return _8==-1?_7:_7.substring(_8+1);}else{return "";}},setWaiRole:function(_9,_a){if(dojo.isFF&&dojo.isFF<3){_9.setAttribute("role","wairole:"+_a);}else{_9.setAttribute("role",_a);}},removeWaiRole:function(_b){_b.removeAttribute("role");},hasWaiState:function(_c,_d){if(dojo.isFF&&dojo.isFF<3){return _c.hasAttributeNS("http://www.w3.org/2005/07/aaa",_d);}else{if(_c.hasAttribute){return _c.hasAttribute("aria-"+_d);}else{return _c.getAttribute("aria-"+_d)?true:false;}}},getWaiState:function(_e,_f){if(dojo.isFF&&dojo.isFF<3){return _e.getAttributeNS("http://www.w3.org/2005/07/aaa",_f);}else{var _10=_e.getAttribute("aria-"+_f);return _10?_10:"";}},setWaiState:function(_11,_12,_13){if(dojo.isFF&&dojo.isFF<3){_11.setAttributeNS("http://www.w3.org/2005/07/aaa","aaa:"+_12,_13);}else{_11.setAttribute("aria-"+_12,_13);}},removeWaiState:function(_14,_15){if(dojo.isFF&&dojo.isFF<3){_14.removeAttributeNS("http://www.w3.org/2005/07/aaa",_15);}else{_14.removeAttribute("aria-"+_15);}}});}
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright (c) 2004-2008, The Dojo Foundation
|
||||
Copyright (c) 2004-2007, The Dojo Foundation
|
||||
All Rights Reserved.
|
||||
|
||||
Licensed under the Academic Free License version 2.1 or above OR the
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright (c) 2004-2008, The Dojo Foundation
|
||||
Copyright (c) 2004-2007, The Dojo Foundation
|
||||
All Rights Reserved.
|
||||
|
||||
Licensed under the Academic Free License version 2.1 or above OR the
|
||||
@@ -9,4 +9,4 @@
|
||||
*/
|
||||
|
||||
|
||||
if(!dojo._hasResource["dijit._editor._Plugin"]){dojo._hasResource["dijit._editor._Plugin"]=true;dojo.provide("dijit._editor._Plugin");dojo.require("dijit._Widget");dojo.require("dijit.Editor");dojo.require("dijit.form.Button");dojo.declare("dijit._editor._Plugin",null,{constructor:function(_1,_2){if(_1){dojo.mixin(this,_1);}this._connects=[];},editor:null,iconClassPrefix:"dijitEditorIcon",button:null,queryCommand:null,command:"",commandArg:null,useDefaultCommand:true,buttonClass:dijit.form.Button,getLabel:function(_3){return this.editor.commands[_3];},_initButton:function(_4){if(this.command.length){var _5=this.getLabel(this.command);var _6=this.iconClassPrefix+" "+this.iconClassPrefix+this.command.charAt(0).toUpperCase()+this.command.substr(1);if(!this.button){_4=dojo.mixin({label:_5,showLabel:false,iconClass:_6,dropDown:this.dropDown,tabIndex:"-1"},_4||{});this.button=new this.buttonClass(_4);}}},destroy:function(f){dojo.forEach(this._connects,dojo.disconnect);},connect:function(o,f,tf){this._connects.push(dojo.connect(o,f,this,tf));},updateState:function(){var _e=this.editor;var _c=this.command;if(!_e){return;}if(!_e.isLoaded){return;}if(!_c.length){return;}if(this.button){try{var _d=_e.queryCommandEnabled(_c);this.button.setAttribute("disabled",!_d);if(typeof this.button.checked=="boolean"){this.button.setAttribute("checked",_e.queryCommandState(_c));}}catch(e){console.debug(e);}}},setEditor:function(_e){this.editor=_e;this._initButton();if(this.command.length&&!this.editor.queryCommandAvailable(this.command)){if(this.button){this.button.domNode.style.display="none";}}if(this.button&&this.useDefaultCommand){this.connect(this.button,"onClick",dojo.hitch(this.editor,"execCommand",this.command,this.commandArg));}this.connect(this.editor,"onNormalizedDisplayChanged","updateState");},setToolbar:function(_f){if(this.button){_f.addChild(this.button);}}});}
|
||||
if(!dojo._hasResource["dijit._editor._Plugin"]){dojo._hasResource["dijit._editor._Plugin"]=true;dojo.provide("dijit._editor._Plugin");dojo.require("dijit._Widget");dojo.require("dijit.Editor");dojo.require("dijit.form.Button");dojo.declare("dijit._editor._Plugin",null,{constructor:function(_1,_2){if(_1){dojo.mixin(this,_1);}},editor:null,iconClassPrefix:"dijitEditorIcon",button:null,queryCommand:null,command:"",commandArg:null,useDefaultCommand:true,buttonClass:dijit.form.Button,updateInterval:200,_initButton:function(){if(this.command.length){var _3=this.editor.commands[this.command];var _4="dijitEditorIcon "+this.iconClassPrefix+this.command.charAt(0).toUpperCase()+this.command.substr(1);if(!this.button){var _5={label:_3,showLabel:false,iconClass:_4,dropDown:this.dropDown};this.button=new this.buttonClass(_5);}}},updateState:function(){var _e=this.editor;var _c=this.command;if(!_e){return;}if(!_e.isLoaded){return;}if(!_c.length){return;}if(this.button){try{var _8=_e.queryCommandEnabled(_c);this.button.setDisabled(!_8);if(this.button.setChecked){this.button.setChecked(_e.queryCommandState(_c));}}catch(e){console.debug(e);}}},setEditor:function(_9){this.editor=_9;this._initButton();if((this.command.length)&&(!this.editor.queryCommandAvailable(this.command))){if(this.button){this.button.domNode.style.display="none";}}if(this.button&&this.useDefaultCommand){dojo.connect(this.button,"onClick",dojo.hitch(this.editor,"execCommand",this.command,this.commandArg));}dojo.connect(this.editor,"onNormalizedDisplayChanged",this,"updateState");},setToolbar:function(_a){if(this.button){_a.addChild(this.button);}}});}
|
||||
@@ -1 +1 @@
|
||||
({"1":"xx-small","2":"x-small","formatBlock":"Format","3":"small","4":"medium","5":"large","6":"x-large","7":"xx-large","fantasy":"fantasy","serif":"serif","p":"Paragraph","pre":"Pre-formatted","sans-serif":"sans-serif","fontName":"Font","h1":"Heading","h2":"Subheading","h3":"Sub-subheading","monospace":"monospace","fontSize":"Size","cursive":"cursive"})
|
||||
({"1": "xx-small", "2": "x-small", "formatBlock": "Format", "monospaced": "monospaced", "3": "small", "4": "medium", "5": "large", "6": "x-large", "7": "xx-large", "fantasy": "fantasy", "serif": "serif", "p": "Paragraph", "pre": "Pre-formatted", "sans-serif": "sans-serif", "fontName": "Font", "h1": "Heading", "h2": "Subheading", "h3": "Sub-subheading", "fontSize": "Size", "cursive": "cursive"})
|
||||
@@ -1 +1 @@
|
||||
({"set":"Set","text":"Description:","insertImageTitle":"Image Properties","url":"URL:","createLinkTitle":"Link Properties"})
|
||||
({"set": "Set", "text": "Text:", "title": "Link URL", "url": "URL:", "urlInvalidMessage": "Invalid URL. Enter a full URL like 'http://www.dojotoolkit.org'"})
|
||||
@@ -1 +1 @@
|
||||
({"removeFormat":"Remove Format","copy":"Copy","paste":"Paste","selectAll":"Select All","insertOrderedList":"Numbered List","insertTable":"Insert/Edit Table","underline":"Underline","foreColor":"Foreground Color","htmlToggle":"HTML Source","formatBlock":"Paragraph Style","insertHorizontalRule":"Horizontal Rule","delete":"Delete","appleKey":"⌘${0}","insertUnorderedList":"Bullet List","tableProp":"Table Property","insertImage":"Insert Image","superscript":"Superscript","subscript":"Subscript","createLink":"Create Link","undo":"Undo","italic":"Italic","fontName":"Font Name","justifyLeft":"Align Left","unlink":"Remove Link","toggleTableBorder":"Toggle Table Border","ctrlKey":"ctrl+${0}","fontSize":"Font Size","indent":"Indent","redo":"Redo","strikethrough":"Strikethrough","justifyFull":"Justify","justifyCenter":"Align Center","hiliteColor":"Background Color","deleteTable":"Delete Table","outdent":"Outdent","cut":"Cut","plainFormatBlock":"Paragraph Style","toggleDir":"Toggle Direction","bold":"Bold","systemShortcutFF":"The \"${0}\" action is only available in Mozilla Firefox using a keyboard shortcut. Use ${1}.","justifyRight":"Align Right"})
|
||||
({"removeFormat": "Remove Format", "copy": "Copy", "paste": "Paste", "selectAll": "Select All", "insertOrderedList": "Numbered List", "insertTable": "Insert/Edit Table", "underline": "Underline", "foreColor": "Foreground Color", "htmlToggle": "HTML Source", "formatBlock": "Paragraph Style", "insertHorizontalRule": "Horizontal Rule", "delete": "Delete", "appleKey": "⌘${0}", "insertUnorderedList": "Bullet List", "tableProp": "Table Property", "insertImage": "Insert Image", "superscript": "Superscript", "subscript": "Subscript", "createLink": "Create Link", "undo": "Undo", "italic": "Italic", "fontName": "Font Name", "justifyLeft": "Align Left", "unlink": "Remove Link", "toggleTableBorder": "Toggle Table Border", "ctrlKey": "ctrl+${0}", "fontSize": "Font Size", "indent": "Indent", "redo": "Redo", "strikethrough": "Strikethrough", "justifyFull": "Justify", "justifyCenter": "Align Center", "hiliteColor": "Background Color", "deleteTable": "Delete Table", "outdent": "Outdent", "cut": "Cut", "plainFormatBlock": "Paragraph Style", "bold": "Bold", "systemShortcutFF": "The \"${0}\" action is only available in Mozilla Firefox using a keyboard shortcut. Use ${1}.", "justifyRight": "Align Right"})
|
||||
@@ -1 +1 @@
|
||||
({"set":"Nastavit","text":"Text:","title":"Adresa URL odkazu","url":"Adresa URL:","urlInvalidMessage":"Neplatná adresa URL. Zadejte úplnou adresu URL ve tvaru 'http://www.dojotoolkit.org'","insertImageTitle":"Image Properties","createLinkTitle":"Link Properties"})
|
||||
({"set": "Nastavit", "text": "Text:", "title": "Adresa URL odkazu", "url": "Adresa URL:", "urlInvalidMessage": "Neplatná adresa URL. Zadejte úplnou adresu URL ve tvaru 'http://www.dojotoolkit.org'"})
|
||||
@@ -1 +1 @@
|
||||
({"removeFormat":"Odebrat formát","copy":"Kopírovat","paste":"Vložit","selectAll":"Vybrat vše","insertOrderedList":"Číslovaný seznam","insertTable":"Vložit/upravit tabulku","underline":"Podtržení","foreColor":"Barva popředí","htmlToggle":"Zdroj HTML","formatBlock":"Styl odstavce","insertHorizontalRule":"Vodorovné pravítko","delete":"Odstranit","insertUnorderedList":"Seznam s odrážkami","tableProp":"Vlastnost tabulky","insertImage":"Vložit obraz","superscript":"Horní index","subscript":"Dolní index","createLink":"Vytvořit odkaz","undo":"Zpět","italic":"Kurzíva","fontName":"Název písma","justifyLeft":"Zarovnat vlevo","unlink":"Odebrat odkaz","toggleTableBorder":"Přepnout ohraničení tabulky","fontSize":"Velikost písma","indent":"Odsadit","redo":"Opakovat","strikethrough":"Přeškrtnutí","justifyFull":"Do bloku","justifyCenter":"Zarovnat na střed","hiliteColor":"Barva pozadí","deleteTable":"Odstranit tabulku","outdent":"Předsadit","cut":"Vyjmout","plainFormatBlock":"Styl odstavce","bold":"Tučné","systemShortcutFF":"Akce \"${0}\" je v prohlížeči Mozilla Firefox dostupná pouze prostřednictvím klávesové zkratky. Použijte klávesy ${1}.","justifyRight":"Zarovnat vpravo","appleKey":"⌘${0}","ctrlKey":"ctrl+${0}","toggleDir":"Toggle Direction"})
|
||||
({"removeFormat": "Odebrat formát", "copy": "Kopírovat", "paste": "Vložit", "selectAll": "Vybrat vše", "insertOrderedList": "Číslovaný seznam", "insertTable": "Vložit/upravit tabulku", "underline": "Podtržení", "foreColor": "Barva popředí", "htmlToggle": "Zdroj HTML", "formatBlock": "Styl odstavce", "insertHorizontalRule": "Vodorovné pravítko", "delete": "Odstranit", "insertUnorderedList": "Seznam s odrážkami", "tableProp": "Vlastnost tabulky", "insertImage": "Vložit obraz", "superscript": "Horní index", "subscript": "Dolní index", "createLink": "Vytvořit odkaz", "undo": "Zpět", "italic": "Kurzíva", "fontName": "Název písma", "justifyLeft": "Zarovnat vlevo", "unlink": "Odebrat odkaz", "toggleTableBorder": "Přepnout ohraničení tabulky", "fontSize": "Velikost písma", "indent": "Odsadit", "redo": "Opakovat", "strikethrough": "Přeškrtnutí", "justifyFull": "Do bloku", "justifyCenter": "Zarovnat na střed", "hiliteColor": "Barva pozadí", "deleteTable": "Odstranit tabulku", "outdent": "Předsadit", "cut": "Vyjmout", "plainFormatBlock": "Styl odstavce", "bold": "Tučné", "systemShortcutFF": "Akce \"${0}\" je v prohlížeči Mozilla Firefox dostupná pouze prostřednictvím klávesové zkratky. Použijte klávesy ${1}.", "justifyRight": "Zarovnat vpravo", "appleKey": "⌘${0}", "ctrlKey": "ctrl+${0}"})
|
||||
@@ -1 +1 @@
|
||||
({"set":"Festlegen","text":"Text:","title":"Link-URL","url":"URL:","urlInvalidMessage":"Ungültiger URL. Geben Sie einen vollständigen URL ein. Beispiel: 'http://www.dojotoolkit.org'","insertImageTitle":"Image Properties","createLinkTitle":"Link Properties"})
|
||||
({"set": "Festlegen", "text": "Text:", "title": "Link-URL", "url": "URL:", "urlInvalidMessage": "Ungültiger URL. Geben Sie einen vollständigen URL ein. Beispiel: 'http://www.dojotoolkit.org'"})
|
||||
@@ -1 +1 @@
|
||||
({"removeFormat":"Formatierung entfernen","copy":"Kopieren","paste":"Einfügen","selectAll":"Alles auswählen","insertOrderedList":"Nummerierung","insertTable":"Tabelle einfügen/bearbeiten","underline":"Unterstrichen","foreColor":"Vordergrundfarbe","htmlToggle":"HTML-Quelltext","formatBlock":"Absatzstil","insertHorizontalRule":"Horizontaler Strich","delete":"Löschen","insertUnorderedList":"Aufzählungszeichen","tableProp":"Tabelleneigenschaft","insertImage":"Grafik einfügen","superscript":"Hochgestellt","subscript":"Tiefgestellt","createLink":"Link erstellen","undo":"Rückgängig","italic":"Kursiv","fontName":"Schriftartname","justifyLeft":"Linksbündig","unlink":"Link entfernen","toggleTableBorder":"Tabellenumrandung ein-/ausschalten","ctrlKey":"Strg+${0}","fontSize":"Schriftgröße","indent":"Einrücken","redo":"Wiederherstellen","strikethrough":"Durchgestrichen","justifyFull":"Blocksatz","justifyCenter":"Zentriert","hiliteColor":"Hintergrundfarbe","deleteTable":"Tabelle löschen","outdent":"Ausrücken","cut":"Ausschneiden","plainFormatBlock":"Absatzstil","bold":"Fett","systemShortcutFF":"Die Aktion \"${0}\" ist in Mozilla Firefox nur über einen Tastaturkurzbefehl verfügbar. Verwenden Sie ${1}.","justifyRight":"Rechtsbündig","appleKey":"⌘${0}","toggleDir":"Toggle Direction"})
|
||||
({"removeFormat": "Formatierung entfernen", "copy": "Kopieren", "paste": "Einfügen", "selectAll": "Alles auswählen", "insertOrderedList": "Nummerierung", "insertTable": "Tabelle einfügen/bearbeiten", "underline": "Unterstrichen", "foreColor": "Vordergrundfarbe", "htmlToggle": "HTML-Quelltext", "formatBlock": "Absatzstil", "insertHorizontalRule": "Horizontaler Strich", "delete": "Löschen", "insertUnorderedList": "Aufzählungszeichen", "tableProp": "Tabelleneigenschaft", "insertImage": "Grafik einfügen", "superscript": "Hochgestellt", "subscript": "Tiefgestellt", "createLink": "Link erstellen", "undo": "Rückgängig", "italic": "Kursiv", "fontName": "Schriftartname", "justifyLeft": "Linksbündig", "unlink": "Link entfernen", "toggleTableBorder": "Tabellenumrandung ein-/ausschalten", "ctrlKey": "Strg+${0}", "fontSize": "Schriftgröße", "indent": "Einrücken", "redo": "Wiederherstellen", "strikethrough": "Durchgestrichen", "justifyFull": "Blocksatz", "justifyCenter": "Zentriert", "hiliteColor": "Hintergrundfarbe", "deleteTable": "Tabelle löschen", "outdent": "Ausrücken", "cut": "Ausschneiden", "plainFormatBlock": "Absatzstil", "bold": "Fett", "systemShortcutFF": "Die Aktion \"${0}\" ist in Mozilla Firefox nur über einen Tastaturkurzbefehl verfügbar. Verwenden Sie ${1}.", "justifyRight": "Rechtsbündig", "appleKey": "⌘${0}"})
|
||||
@@ -1 +1 @@
|
||||
({"set":"Establecer","text":"Texto:","title":"Enlazar URL","url":"URL:","urlInvalidMessage":"URL no válido. Especifique un URL completo como 'http://www.dojotoolkit.org'","insertImageTitle":"Image Properties","createLinkTitle":"Link Properties"})
|
||||
({"set": "Establecer", "text": "Texto:", "title": "Enlazar URL", "url": "URL:", "urlInvalidMessage": "URL no válido. Especifique un URL completo como 'http://www.dojotoolkit.org'"})
|
||||
@@ -1 +1 @@
|
||||
({"removeFormat":"Eliminar formato","copy":"Copiar","paste":"Pegar","selectAll":"Seleccionar todo","insertOrderedList":"Lista numerada","insertTable":"Insertar/Editar tabla","underline":"Subrayado","foreColor":"Color de primer plano","htmlToggle":"Fuente HTML","formatBlock":"Estilo de párrafo","insertHorizontalRule":"Regla horizontal","delete":"Suprimir","insertUnorderedList":"Lista con viñetas","tableProp":"Propiedad de tabla","insertImage":"Insertar imagen","superscript":"Superíndice","subscript":"Subíndice","createLink":"Crear enlace","undo":"Deshacer","italic":"Cursiva","fontName":"Nombre de font","justifyLeft":"Alinear izquierda","unlink":"Eliminar enlace","toggleTableBorder":"Conmutar borde de tabla","ctrlKey":"Control+${0}","fontSize":"Tamaño de font","indent":"Sangría","redo":"Rehacer","strikethrough":"Tachado","justifyFull":"Justificar","justifyCenter":"Alinear centro","hiliteColor":"Color de segundo plano","deleteTable":"Suprimir tabla","outdent":"Anular sangría","cut":"Cortar","plainFormatBlock":"Estilo de párrafo","bold":"Negrita","systemShortcutFF":"La acción \"${0}\" sólo está disponible en Mozilla Firefox mediante un atajo de teclado. Utilice ${1}.","justifyRight":"Alinear derecha","appleKey":"⌘${0}","toggleDir":"Toggle Direction"})
|
||||
({"removeFormat": "Eliminar formato", "copy": "Copiar", "paste": "Pegar", "selectAll": "Seleccionar todo", "insertOrderedList": "Lista numerada", "insertTable": "Insertar/Editar tabla", "underline": "Subrayado", "foreColor": "Color de primer plano", "htmlToggle": "Fuente HTML", "formatBlock": "Estilo de párrafo", "insertHorizontalRule": "Regla horizontal", "delete": "Suprimir", "insertUnorderedList": "Lista con viñetas", "tableProp": "Propiedad de tabla", "insertImage": "Insertar imagen", "superscript": "Superíndice", "subscript": "Subíndice", "createLink": "Crear enlace", "undo": "Deshacer", "italic": "Cursiva", "fontName": "Nombre de font", "justifyLeft": "Alinear izquierda", "unlink": "Eliminar enlace", "toggleTableBorder": "Conmutar borde de tabla", "ctrlKey": "Control+${0}", "fontSize": "Tamaño de font", "indent": "Sangría", "redo": "Rehacer", "strikethrough": "Tachado", "justifyFull": "Justificar", "justifyCenter": "Alinear centro", "hiliteColor": "Color de segundo plano", "deleteTable": "Suprimir tabla", "outdent": "Anular sangría", "cut": "Cortar", "plainFormatBlock": "Estilo de párrafo", "bold": "Negrita", "systemShortcutFF": "La acción \"${0}\" sólo está disponible en Mozilla Firefox mediante un atajo de teclado. Utilice ${1}.", "justifyRight": "Alinear derecha", "appleKey": "⌘${0}"})
|
||||
@@ -1 +1 @@
|
||||
({"set":"Définir","text":"Texte :","title":"URL du lien","url":"URL :","urlInvalidMessage":"Adresse URL non valide. Entrez une adresse URL complète de type 'http://www.dojotoolkit.org'","insertImageTitle":"Image Properties","createLinkTitle":"Link Properties"})
|
||||
({"set": "Définir", "text": "Texte :", "title": "URL du lien", "url": "URL :", "urlInvalidMessage": "Adresse URL non valide. Entrez une adresse URL complète de type 'http://www.dojotoolkit.org'"})
|
||||
@@ -1 +1 @@
|
||||
({"removeFormat":"Supprimer la mise en forme","copy":"Copier","paste":"Coller","selectAll":"Sélectionner tout","insertOrderedList":"Liste numérotée","insertTable":"Insérer/Modifier un tableau","underline":"Souligner","foreColor":"Couleur d'avant-plan","htmlToggle":"Source HTML","formatBlock":"Style de paragraphe","insertHorizontalRule":"Règle horizontale","delete":"Supprimer","insertUnorderedList":"Liste à puces","tableProp":"Propriété du tableau","insertImage":"Insérer une image","superscript":"Exposant","subscript":"Indice","createLink":"Créer un lien","undo":"Annuler","italic":"Italique","fontName":"Nom de police","justifyLeft":"Aligner à gauche","unlink":"Supprimer le lien","toggleTableBorder":"Afficher/Masquer la bordure du tableau","fontSize":"Taille de police","indent":"Retrait","redo":"Rétablir","strikethrough":"Barrer","justifyFull":"Justifier","justifyCenter":"Aligner au centre","hiliteColor":"Couleur d'arrière-plan","deleteTable":"Supprimer le tableau","outdent":"Retrait négatif","cut":"Couper","plainFormatBlock":"Style de paragraphe","bold":"Gras","systemShortcutFF":"L'action \"${0}\" est disponible dans Mozilla Firefox uniquement, par le biais d'un raccourci-clavier. Utilisez ${1}.","justifyRight":"Aligner à droite","appleKey":"⌘${0}","ctrlKey":"ctrl+${0}","toggleDir":"Toggle Direction"})
|
||||
({"removeFormat": "Supprimer la mise en forme", "copy": "Copier", "paste": "Coller", "selectAll": "Sélectionner tout", "insertOrderedList": "Liste numérotée", "insertTable": "Insérer/Modifier un tableau", "underline": "Souligner", "foreColor": "Couleur d'avant-plan", "htmlToggle": "Source HTML", "formatBlock": "Style de paragraphe", "insertHorizontalRule": "Règle horizontale", "delete": "Supprimer", "insertUnorderedList": "Liste à puces", "tableProp": "Propriété du tableau", "insertImage": "Insérer une image", "superscript": "Exposant", "subscript": "Indice", "createLink": "Créer un lien", "undo": "Annuler", "italic": "Italique", "fontName": "Nom de police", "justifyLeft": "Aligner à gauche", "unlink": "Supprimer le lien", "toggleTableBorder": "Afficher/Masquer la bordure du tableau", "fontSize": "Taille de police", "indent": "Retrait", "redo": "Rétablir", "strikethrough": "Barrer", "justifyFull": "Justifier", "justifyCenter": "Aligner au centre", "hiliteColor": "Couleur d'arrière-plan", "deleteTable": "Supprimer le tableau", "outdent": "Retrait négatif", "cut": "Couper", "plainFormatBlock": "Style de paragraphe", "bold": "Gras", "systemShortcutFF": "L'action \"${0}\" est disponible dans Mozilla Firefox uniquement, par le biais d'un raccourci-clavier. Utilisez ${1}.", "justifyRight": "Aligner à droite", "appleKey": "⌘${0}", "ctrlKey": "ctrl+${0}"})
|
||||
@@ -1 +1 @@
|
||||
({"set":"Beállítás","text":"Szöveg:","title":"Hivatkozás URL címe","url":"URL:","urlInvalidMessage":"Érvénytelen URL cím. Adjon meg teljes URL címet, például: 'http://www.dojotoolkit.org'","insertImageTitle":"Image Properties","createLinkTitle":"Link Properties"})
|
||||
({"set": "Beállítás", "text": "Szöveg:", "title": "Hivatkozás URL címe", "url": "URL:", "urlInvalidMessage": "Érvénytelen URL cím. Adjon meg teljes URL címet, például: 'http://www.dojotoolkit.org'"})
|
||||
@@ -1 +1 @@
|
||||
({"removeFormat":"Formázás eltávolítása","copy":"Másolás","paste":"Beillesztés","selectAll":"Összes kijelölése","insertOrderedList":"Számozott lista","insertTable":"Táblázat beszúrása/szerkesztése","underline":"Aláhúzott","foreColor":"Előtérszín","htmlToggle":"HTML forrás","formatBlock":"Bekezdés stílusa","insertHorizontalRule":"Vízszintes vonalzó","delete":"Törlés","insertUnorderedList":"Felsorolásjeles lista","tableProp":"Táblázat tulajdonságai","insertImage":"Kép beszúrása","superscript":"Felső index","subscript":"Alsó index","createLink":"Hivatkozás létrehozása","undo":"Visszavonás","italic":"Dőlt","fontName":"Betűtípus","justifyLeft":"Balra igazítás","unlink":"Hivatkozás eltávolítása","toggleTableBorder":"Táblázatszegély ki-/bekapcsolása","fontSize":"Betűméret","indent":"Behúzás","redo":"Újra","strikethrough":"Áthúzott","justifyFull":"Sorkizárás","justifyCenter":"Középre igazítás","hiliteColor":"Háttérszín","deleteTable":"Táblázat törlése","outdent":"Negatív behúzás","cut":"Kivágás","plainFormatBlock":"Bekezdés stílusa","bold":"Félkövér","systemShortcutFF":"A(z) \"${0}\" művelet csak Mozilla Firefox böngészőben érhető el billentyűparancs használatával. Használja a következőt: ${1}.","justifyRight":"Jobbra igazítás","appleKey":"⌘${0}","ctrlKey":"ctrl+${0}","toggleDir":"Toggle Direction"})
|
||||
({"removeFormat": "Formázás eltávolítása", "copy": "Másolás", "paste": "Beillesztés", "selectAll": "Összes kijelölése", "insertOrderedList": "Számozott lista", "insertTable": "Táblázat beszúrása/szerkesztése", "underline": "Aláhúzott", "foreColor": "Előtérszín", "htmlToggle": "HTML forrás", "formatBlock": "Bekezdés stílusa", "insertHorizontalRule": "Vízszintes vonalzó", "delete": "Törlés", "insertUnorderedList": "Felsorolásjeles lista", "tableProp": "Táblázat tulajdonságai", "insertImage": "Kép beszúrása", "superscript": "Felső index", "subscript": "Alsó index", "createLink": "Hivatkozás létrehozása", "undo": "Visszavonás", "italic": "Dőlt", "fontName": "Betűtípus", "justifyLeft": "Balra igazítás", "unlink": "Hivatkozás eltávolítása", "toggleTableBorder": "Táblázatszegély ki-/bekapcsolása", "fontSize": "Betűméret", "indent": "Behúzás", "redo": "Újra", "strikethrough": "Áthúzott", "justifyFull": "Sorkizárás", "justifyCenter": "Középre igazítás", "hiliteColor": "Háttérszín", "deleteTable": "Táblázat törlése", "outdent": "Negatív behúzás", "cut": "Kivágás", "plainFormatBlock": "Bekezdés stílusa", "bold": "Félkövér", "systemShortcutFF": "A(z) \"${0}\" művelet csak Mozilla Firefox böngészőben érhető el billentyűparancs használatával. Használja a következőt: ${1}.", "justifyRight": "Jobbra igazítás", "appleKey": "⌘${0}", "ctrlKey": "ctrl+${0}"})
|
||||
@@ -1 +1 @@
|
||||
({"set":"Imposta","text":"Testo:","title":"URL di collegamento","url":"URL:","urlInvalidMessage":"URL non valido. Immettere un URL completo come nel seguente esempio: 'http://www.dojotoolkit.org'","insertImageTitle":"Image Properties","createLinkTitle":"Link Properties"})
|
||||
({"set": "Imposta", "text": "Testo:", "title": "URL di collegamento", "url": "URL:", "urlInvalidMessage": "URL non valido. Immettere un URL completo come nel seguente esempio: 'http://www.dojotoolkit.org'"})
|
||||
@@ -1 +1 @@
|
||||
({"removeFormat":"Rimuovi formato","copy":"Copia","paste":"Incolla","selectAll":"Seleziona tutto","insertOrderedList":"Elenco numerato","insertTable":"Inserisci/Modifica tabella","underline":"Sottolineato","foreColor":"Colore primo piano","htmlToggle":"Origine HTML","formatBlock":"Stile paragrafo","insertHorizontalRule":"Righello orizzontale","delete":"Elimina","insertUnorderedList":"Elenco puntato","tableProp":"Proprietà tabella","insertImage":"Inserisci immagine","superscript":"Apice","subscript":"Pedice","createLink":"Crea collegamento","undo":"Annulla","italic":"Corsivo","fontName":"Nome carattere","justifyLeft":"Allinea a sinistra","unlink":"Rimuovi collegamento","toggleTableBorder":"Mostra/Nascondi margine tabella","fontSize":"Dimensione carattere","indent":"Rientra","redo":"Ripristina","strikethrough":"Barrato","justifyFull":"Giustifica","justifyCenter":"Allinea al centro","hiliteColor":"Colore sfondo","deleteTable":"Elimina tabella","outdent":"Rimuovi rientro","cut":"Taglia","plainFormatBlock":"Stile paragrafo","bold":"Grassetto","systemShortcutFF":"L'azione \"${0}\" è disponibile solo in Mozilla Firefox tramite tasti di scelta rapida. Utilizzare ${1}.","justifyRight":"Allinea a destra","appleKey":"⌘${0}","ctrlKey":"ctrl+${0}","toggleDir":"Toggle Direction"})
|
||||
({"removeFormat": "Rimuovi formato", "copy": "Copia", "paste": "Incolla", "selectAll": "Seleziona tutto", "insertOrderedList": "Elenco numerato", "insertTable": "Inserisci/Modifica tabella", "underline": "Sottolineato", "foreColor": "Colore primo piano", "htmlToggle": "Origine HTML", "formatBlock": "Stile paragrafo", "insertHorizontalRule": "Righello orizzontale", "delete": "Elimina", "insertUnorderedList": "Elenco puntato", "tableProp": "Proprietà tabella", "insertImage": "Inserisci immagine", "superscript": "Apice", "subscript": "Pedice", "createLink": "Crea collegamento", "undo": "Annulla", "italic": "Corsivo", "fontName": "Nome carattere", "justifyLeft": "Allinea a sinistra", "unlink": "Rimuovi collegamento", "toggleTableBorder": "Mostra/Nascondi margine tabella", "fontSize": "Dimensione carattere", "indent": "Rientra", "redo": "Ripristina", "strikethrough": "Barrato", "justifyFull": "Giustifica", "justifyCenter": "Allinea al centro", "hiliteColor": "Colore sfondo", "deleteTable": "Elimina tabella", "outdent": "Rimuovi rientro", "cut": "Taglia", "plainFormatBlock": "Stile paragrafo", "bold": "Grassetto", "systemShortcutFF": "L'azione \"${0}\" è disponibile solo in Mozilla Firefox tramite tasti di scelta rapida. Utilizzare ${1}.", "justifyRight": "Allinea a destra", "appleKey": "⌘${0}", "ctrlKey": "ctrl+${0}"})
|
||||
@@ -1 +1 @@
|
||||
({"set":"設定","text":"テキスト:","title":"URL にリンク","url":"URL:","urlInvalidMessage":"無効な URL です。完全な URL (例えば、http://www.dojotoolkit.org) を入力してください。","insertImageTitle":"Image Properties","createLinkTitle":"Link Properties"})
|
||||
({"set": "設定", "text": "テキスト:", "title": "URL にリンク", "url": "URL:", "urlInvalidMessage": "無効な URL です。完全な URL (例えば、http://www.dojotoolkit.org) を入力してください。"})
|
||||
@@ -1 +1 @@
|
||||
({"removeFormat":"形式の除去","copy":"コピー","paste":"貼り付け","selectAll":"すべて選択","insertOrderedList":"番号付きリスト","insertTable":"テーブルの挿入/編集","underline":"下線","foreColor":"前景色","htmlToggle":"HTML ソース","formatBlock":"段落スタイル","insertHorizontalRule":"水平罫線","delete":"削除","insertUnorderedList":"黒丸付きリスト","tableProp":"テーブル・プロパティー","insertImage":"イメージの挿入","superscript":"上付き文字","subscript":"下付き文字","createLink":"リンクの作成","undo":"元に戻す","italic":"イタリック","fontName":"フォント名","justifyLeft":"左揃え","unlink":"リンクの除去","toggleTableBorder":"テーブル・ボーダーの切り替え","fontSize":"フォント・サイズ","indent":"インデント","redo":"やり直し","strikethrough":"取り消し線","justifyFull":"両端揃え","justifyCenter":"中央揃え","hiliteColor":"背景色","deleteTable":"テーブルの削除","outdent":"アウトデント","cut":"切り取り","plainFormatBlock":"段落スタイル","bold":"太字","systemShortcutFF":"\"${0}\" アクションは、キーボード・ショートカットを使用して Mozilla Firefox でのみ使用できます。${1} を使用してください。","justifyRight":"右揃え","appleKey":"⌘${0}","ctrlKey":"ctrl+${0}","toggleDir":"Toggle Direction"})
|
||||
({"removeFormat": "形式の除去", "copy": "コピー", "paste": "貼り付け", "selectAll": "すべて選択", "insertOrderedList": "番号付きリスト", "insertTable": "テーブルの挿入/編集", "underline": "下線", "foreColor": "前景色", "htmlToggle": "HTML ソース", "formatBlock": "段落スタイル", "insertHorizontalRule": "水平罫線", "delete": "削除", "insertUnorderedList": "黒丸付きリスト", "tableProp": "テーブル・プロパティー", "insertImage": "イメージの挿入", "superscript": "上付き文字", "subscript": "下付き文字", "createLink": "リンクの作成", "undo": "元に戻す", "italic": "イタリック", "fontName": "フォント名", "justifyLeft": "左揃え", "unlink": "リンクの除去", "toggleTableBorder": "テーブル・ボーダーの切り替え", "fontSize": "フォント・サイズ", "indent": "インデント", "redo": "やり直し", "strikethrough": "取り消し線", "justifyFull": "両端揃え", "justifyCenter": "中央揃え", "hiliteColor": "背景色", "deleteTable": "テーブルの削除", "outdent": "アウトデント", "cut": "切り取り", "plainFormatBlock": "段落スタイル", "bold": "太字", "systemShortcutFF": "\"${0}\" アクションは、キーボード・ショートカットを使用して Mozilla Firefox でのみ使用できます。${1} を使用してください。", "justifyRight": "右揃え", "appleKey": "⌘${0}", "ctrlKey": "ctrl+${0}"})
|
||||
@@ -1 +1 @@
|
||||
({"set":"설정","text":"텍스트:","title":"URL 링크","url":"URL:","urlInvalidMessage":"유효하지 않은 URL입니다. 'http://www.dojotoolkit.org'와 같이 전체 URL을 입력하십시오. ","insertImageTitle":"Image Properties","createLinkTitle":"Link Properties"})
|
||||
({"set": "설정", "text": "텍스트:", "title": "URL 링크", "url": "URL:", "urlInvalidMessage": "유효하지 않은 URL입니다. 'http://www.dojotoolkit.org'와 같이 전체 URL을 입력하십시오. "})
|
||||
@@ -1 +1 @@
|
||||
({"removeFormat":"형식 제거","copy":"복사","paste":"붙여넣기","selectAll":"모두 선택","insertOrderedList":"번호 목록","insertTable":"테이블 삽입/편집","underline":"밑줄","foreColor":"전경색","htmlToggle":"HTML 소스","formatBlock":"단락 양식","insertHorizontalRule":"수평 자","delete":"삭제","insertUnorderedList":"글머리표 목록","tableProp":"테이블 특성","insertImage":"이미지 삽입","superscript":"위첨자","subscript":"아래첨자","createLink":"링크 작성","undo":"실행 취소","italic":"이탤릭체","fontName":"글꼴 이름","justifyLeft":"왼쪽 맞춤","unlink":"링크 제거","toggleTableBorder":"토글 테이블 경계","fontSize":"글꼴 크기","indent":"들여쓰기","redo":"다시 실행","strikethrough":"취소선","justifyFull":"양쪽 맞춤","justifyCenter":"가운데 맞춤","hiliteColor":"배경색","deleteTable":"테이블 삭제","outdent":"내어쓰기","cut":"잘라내기","plainFormatBlock":"단락 양식","bold":"굵은체","systemShortcutFF":"\"${0}\" 조치는 키보드 바로 가기를 사용하는 Mozilla Firefox에서만 사용 가능합니다. ${1} 사용.","justifyRight":"오른쪽 맞춤","appleKey":"⌘${0}","ctrlKey":"ctrl+${0}","toggleDir":"Toggle Direction"})
|
||||
({"removeFormat": "형식 제거", "copy": "복사", "paste": "붙여넣기", "selectAll": "모두 선택", "insertOrderedList": "번호 목록", "insertTable": "테이블 삽입/편집", "underline": "밑줄", "foreColor": "전경색", "htmlToggle": "HTML 소스", "formatBlock": "단락 양식", "insertHorizontalRule": "수평 자", "delete": "삭제", "insertUnorderedList": "글머리표 목록", "tableProp": "테이블 특성", "insertImage": "이미지 삽입", "superscript": "위첨자", "subscript": "아래첨자", "createLink": "링크 작성", "undo": "실행 취소", "italic": "이탤릭체", "fontName": "글꼴 이름", "justifyLeft": "왼쪽 맞춤", "unlink": "링크 제거", "toggleTableBorder": "토글 테이블 경계", "fontSize": "글꼴 크기", "indent": "들여쓰기", "redo": "다시 실행", "strikethrough": "취소선", "justifyFull": "양쪽 맞춤", "justifyCenter": "가운데 맞춤", "hiliteColor": "배경색", "deleteTable": "테이블 삭제", "outdent": "내어쓰기", "cut": "잘라내기", "plainFormatBlock": "단락 양식", "bold": "굵은체", "systemShortcutFF": "\"${0}\" 조치는 키보드 바로 가기를 사용하는 Mozilla Firefox에서만 사용 가능합니다. ${1} 사용.", "justifyRight": "오른쪽 맞춤", "appleKey": "⌘${0}", "ctrlKey": "ctrl+${0}"})
|
||||
@@ -1 +1 @@
|
||||
({"set":"Ustaw","text":"Tekst:","title":"Adres URL odsyłacza","url":"Adres URL:","urlInvalidMessage":"Nieprawidłowy adres URL. Wprowadź pełny adres URL, na przykład http://www.dojotoolkit.org.","insertImageTitle":"Image Properties","createLinkTitle":"Link Properties"})
|
||||
({"set": "Ustaw", "text": "Tekst:", "title": "Adres URL odsyłacza", "url": "Adres URL:", "urlInvalidMessage": "Nieprawidłowy adres URL. Wprowadź pełny adres URL, na przykład http://www.dojotoolkit.org."})
|
||||
@@ -1 +1 @@
|
||||
({"removeFormat":"Usuń formatowanie","copy":"Kopiuj","paste":"Wklej","selectAll":"Wybierz wszystko","insertOrderedList":"Lista numerowana","insertTable":"Wstaw/edytuj tabelę","underline":"Podkreślenie","foreColor":"Kolor pierwszego planu","htmlToggle":"Źródło HTML","formatBlock":"Styl akapitu","insertHorizontalRule":"Linia pozioma","delete":"Usuń","insertUnorderedList":"Lista wypunktowana","tableProp":"Właściwość tabeli","insertImage":"Wstaw obraz","superscript":"Indeks górny","subscript":"Indeks dolny","createLink":"Utwórz odsyłacz","undo":"Cofnij","italic":"Kursywa","fontName":"Nazwa czcionki","justifyLeft":"Wyrównaj do lewej","unlink":"Usuń odsyłacz","toggleTableBorder":"Przełącz ramkę tabeli","fontSize":"Wielkość czcionki","indent":"Wcięcie","redo":"Przywróć","strikethrough":"Przekreślenie","justifyFull":"Wyrównaj do lewej i prawej","justifyCenter":"Wyrównaj do środka","hiliteColor":"Kolor tła","deleteTable":"Usuń tabelę","outdent":"Usuń wcięcie","cut":"Wytnij","plainFormatBlock":"Styl akapitu","bold":"Pogrubienie","systemShortcutFF":"Działanie ${0} jest dostępne w przeglądarce Mozilla Firefox wyłącznie za pomocą skrótu klawiaturowego. Użyj ${1}.","justifyRight":"Wyrównaj do prawej","appleKey":"⌘${0}","ctrlKey":"ctrl+${0}","toggleDir":"Toggle Direction"})
|
||||
({"removeFormat": "Usuń formatowanie", "copy": "Kopiuj", "paste": "Wklej", "selectAll": "Wybierz wszystko", "insertOrderedList": "Lista numerowana", "insertTable": "Wstaw/edytuj tabelę", "underline": "Podkreślenie", "foreColor": "Kolor pierwszego planu", "htmlToggle": "Źródło HTML", "formatBlock": "Styl akapitu", "insertHorizontalRule": "Linia pozioma", "delete": "Usuń", "insertUnorderedList": "Lista wypunktowana", "tableProp": "Właściwość tabeli", "insertImage": "Wstaw obraz", "superscript": "Indeks górny", "subscript": "Indeks dolny", "createLink": "Utwórz odsyłacz", "undo": "Cofnij", "italic": "Kursywa", "fontName": "Nazwa czcionki", "justifyLeft": "Wyrównaj do lewej", "unlink": "Usuń odsyłacz", "toggleTableBorder": "Przełącz ramkę tabeli", "fontSize": "Wielkość czcionki", "indent": "Wcięcie", "redo": "Przywróć", "strikethrough": "Przekreślenie", "justifyFull": "Wyrównaj do lewej i prawej", "justifyCenter": "Wyrównaj do środka", "hiliteColor": "Kolor tła", "deleteTable": "Usuń tabelę", "outdent": "Usuń wcięcie", "cut": "Wytnij", "plainFormatBlock": "Styl akapitu", "bold": "Pogrubienie", "systemShortcutFF": "Działanie ${0} jest dostępne w przeglądarce Mozilla Firefox wyłącznie za pomocą skrótu klawiaturowego. Użyj ${1}.", "justifyRight": "Wyrównaj do prawej", "appleKey": "⌘${0}", "ctrlKey": "ctrl+${0}"})
|
||||
@@ -1 +1 @@
|
||||
({"set":"Definir\n","text":"Texto:\n","title":"Vincular URL","url":"URL:","urlInvalidMessage":"URL inválida. Digite uma URL completa, como 'http://www.dojotoolkit.org'","insertImageTitle":"Image Properties","createLinkTitle":"Link Properties"})
|
||||
({"set": "Definir\n", "text": "Texto:\n", "title": "Vincular URL", "url": "URL:", "urlInvalidMessage": "URL inválida. Digite uma URL completa, como 'http://www.dojotoolkit.org'"})
|
||||
@@ -1 +1 @@
|
||||
({"removeFormat":"Remover Formato","copy":"Copiar","paste":"Colar","selectAll":"Selecionar Todos","insertOrderedList":"Lista Numerada","insertTable":"Inserir/Editar Tabela","underline":"Sublinhado","foreColor":"Cor do Primeiro Plano","htmlToggle":"Origem HTML","formatBlock":"Estilo de Parágrafo","insertHorizontalRule":"Régua Horizontal","delete":"Excluir ","insertUnorderedList":"Lista com Marcadores","tableProp":"Propriedade da Tabela","insertImage":"Inserir Imagem","superscript":"Sobrescrito","subscript":"Subscrito","createLink":"Criar Link","undo":"Desfazer","italic":"Itálico","fontName":"Nome da Fonte","justifyLeft":"Alinhar pela Esquerda","unlink":"Remover Link","toggleTableBorder":"Alternar Moldura da Tabela","fontSize":"Tamanho da Fonte","indent":"Recuar","redo":"Refazer","strikethrough":"Tachado","justifyFull":"Justificar","justifyCenter":"Alinhar pelo Centro","hiliteColor":"Cor de segundo plano","deleteTable":"Excluir Tabela","outdent":"Avançar","cut":"Recortar","plainFormatBlock":"Estilo de Parágrafo","bold":"Negrito","systemShortcutFF":"A ação \"${0}\" está disponível apenas no Mozilla Firefox utilizando um atalho do teclado. Utilize ${1}.","justifyRight":"Alinhar pela Direita","appleKey":"⌘${0}","ctrlKey":"ctrl+${0}","toggleDir":"Toggle Direction"})
|
||||
({"removeFormat": "Remover Formato", "copy": "Copiar", "paste": "Colar", "selectAll": "Selecionar Todos", "insertOrderedList": "Lista Numerada", "insertTable": "Inserir/Editar Tabela", "underline": "Sublinhado", "foreColor": "Cor do Primeiro Plano", "htmlToggle": "Origem HTML", "formatBlock": "Estilo de Parágrafo", "insertHorizontalRule": "Régua Horizontal", "delete": "Excluir ", "insertUnorderedList": "Lista com Marcadores", "tableProp": "Propriedade da Tabela", "insertImage": "Inserir Imagem", "superscript": "Sobrescrito", "subscript": "Subscrito", "createLink": "Criar Link", "undo": "Desfazer", "italic": "Itálico", "fontName": "Nome da Fonte", "justifyLeft": "Alinhar pela Esquerda", "unlink": "Remover Link", "toggleTableBorder": "Alternar Moldura da Tabela", "fontSize": "Tamanho da Fonte", "indent": "Recuar", "redo": "Refazer", "strikethrough": "Tachado", "justifyFull": "Justificar", "justifyCenter": "Alinhar pelo Centro", "hiliteColor": "Cor de segundo plano", "deleteTable": "Excluir Tabela", "outdent": "Avançar", "cut": "Recortar", "plainFormatBlock": "Estilo de Parágrafo", "bold": "Negrito", "systemShortcutFF": "A ação \"${0}\" está disponível apenas no Mozilla Firefox utilizando um atalho do teclado. Utilize ${1}.", "justifyRight": "Alinhar pela Direita", "appleKey": "⌘${0}", "ctrlKey": "ctrl+${0}"})
|
||||
@@ -1 +1 @@
|
||||
({"set":"Задать","text":"Текст:","title":"URL ссылки","url":"URL:","urlInvalidMessage":"Недопустимый адрес URL. Укажите полный URL, например: 'http://www.dojotoolkit.org'","insertImageTitle":"Image Properties","createLinkTitle":"Link Properties"})
|
||||
({"set": "Задать", "text": "Текст:", "title": "URL ссылки", "url": "URL:", "urlInvalidMessage": "Недопустимый адрес URL. Укажите полный URL, например: 'http://www.dojotoolkit.org'"})
|
||||
@@ -1 +1 @@
|
||||
({"removeFormat":"Удалить формат","copy":"Копировать","paste":"Вставить","selectAll":"Выбрать все","insertOrderedList":"Нумерованный список","insertTable":"Вставить/изменить таблицу","underline":"Подчеркивание","foreColor":"Цвет текста","htmlToggle":"Код HTML","formatBlock":"Стиль абзаца","insertHorizontalRule":"Горизонтальная линейка","delete":"Удалить","insertUnorderedList":"Список с маркерами","tableProp":"Свойства таблицы","insertImage":"Вставить изображение","superscript":"Верхний индекс","subscript":"Нижний индекс","createLink":"Создать ссылку","undo":"Отменить","italic":"Курсив","fontName":"Название шрифта","justifyLeft":"По левому краю","unlink":"Удалить ссылку","toggleTableBorder":"Переключить рамку таблицы","fontSize":"Размер шрифта","indent":"Отступ","redo":"Повторить","strikethrough":"Перечеркивание","justifyFull":"По ширине","justifyCenter":"По центру","hiliteColor":"Цвет фона","deleteTable":"Удалить таблицу","outdent":"Втяжка","cut":"Вырезать","plainFormatBlock":"Стиль абзаца","bold":"Полужирный","systemShortcutFF":"Действие \"${0}\" доступно в Mozilla Firefox только через сочетание клавиш. Используйте ${1}.","justifyRight":"По правому краю","appleKey":"⌘${0}","ctrlKey":"ctrl+${0}","toggleDir":"Toggle Direction"})
|
||||
({"removeFormat": "Удалить формат", "copy": "Копировать", "paste": "Вставить", "selectAll": "Выбрать все", "insertOrderedList": "Нумерованный список", "insertTable": "Вставить/изменить таблицу", "underline": "Подчеркивание", "foreColor": "Цвет текста", "htmlToggle": "Код HTML", "formatBlock": "Стиль абзаца", "insertHorizontalRule": "Горизонтальная линейка", "delete": "Удалить", "insertUnorderedList": "Список с маркерами", "tableProp": "Свойства таблицы", "insertImage": "Вставить изображение", "superscript": "Верхний индекс", "subscript": "Нижний индекс", "createLink": "Создать ссылку", "undo": "Отменить", "italic": "Курсив", "fontName": "Название шрифта", "justifyLeft": "По левому краю", "unlink": "Удалить ссылку", "toggleTableBorder": "Переключить рамку таблицы", "fontSize": "Размер шрифта", "indent": "Отступ", "redo": "Повторить", "strikethrough": "Перечеркивание", "justifyFull": "По ширине", "justifyCenter": "По центру", "hiliteColor": "Цвет фона", "deleteTable": "Удалить таблицу", "outdent": "Втяжка", "cut": "Вырезать", "plainFormatBlock": "Стиль абзаца", "bold": "Полужирный", "systemShortcutFF": "Действие \"${0}\" доступно в Mozilla Firefox только через сочетание клавиш. Используйте ${1}.", "justifyRight": "По правому краю", "appleKey": "⌘${0}", "ctrlKey": "ctrl+${0}"})
|
||||
@@ -1 +1 @@
|
||||
({"set":"設定","text":"文字:","title":"鏈結 URL","url":"URL:","urlInvalidMessage":"URL 無效。請輸入完整的 URL,例如 'http://www.dojotoolkit.org'","insertImageTitle":"Image Properties","createLinkTitle":"Link Properties"})
|
||||
({"set": "設定", "text": "文字:", "title": "鏈結 URL", "url": "URL:", "urlInvalidMessage": "URL 無效。請輸入完整的 URL,例如 'http://www.dojotoolkit.org'"})
|
||||
@@ -1 +1 @@
|
||||
({"removeFormat":"移除格式","copy":"複製","paste":"貼上","selectAll":"全選","insertOrderedList":"編號清單","insertTable":"插入/編輯表格","underline":"底線","foreColor":"前景顏色","htmlToggle":"HTML 原始檔","formatBlock":"段落樣式","insertHorizontalRule":"水平尺規","delete":"刪除","insertUnorderedList":"項目符號清單","tableProp":"表格內容","insertImage":"插入影像","superscript":"上標","subscript":"下標","createLink":"建立鏈結","undo":"復原","italic":"斜體","fontName":"字型名稱","justifyLeft":"靠左對齊","unlink":"移除鏈結","toggleTableBorder":"切換表格邊框","fontSize":"字型大小","indent":"縮排","redo":"重做","strikethrough":"加刪除線","justifyFull":"對齊","justifyCenter":"置中對齊","hiliteColor":"背景顏色","deleteTable":"刪除表格","outdent":"凸排","cut":"剪下","plainFormatBlock":"段落樣式","bold":"粗體","systemShortcutFF":"\"${0}\" 動作在 Mozilla Firefox 中,只能使用鍵盤快速鍵。請使用 ${1}。","justifyRight":"靠右對齊","appleKey":"⌘${0}","ctrlKey":"ctrl+${0}","toggleDir":"Toggle Direction"})
|
||||
({"removeFormat": "移除格式", "copy": "複製", "paste": "貼上", "selectAll": "全選", "insertOrderedList": "編號清單", "insertTable": "插入/編輯表格", "underline": "底線", "foreColor": "前景顏色", "htmlToggle": "HTML 原始檔", "formatBlock": "段落樣式", "insertHorizontalRule": "水平尺規", "delete": "刪除", "insertUnorderedList": "項目符號清單", "tableProp": "表格內容", "insertImage": "插入影像", "superscript": "上標", "subscript": "下標", "createLink": "建立鏈結", "undo": "復原", "italic": "斜體", "fontName": "字型名稱", "justifyLeft": "靠左對齊", "unlink": "移除鏈結", "toggleTableBorder": "切換表格邊框", "fontSize": "字型大小", "indent": "縮排", "redo": "重做", "strikethrough": "加刪除線", "justifyFull": "對齊", "justifyCenter": "置中對齊", "hiliteColor": "背景顏色", "deleteTable": "刪除表格", "outdent": "凸排", "cut": "剪下", "plainFormatBlock": "段落樣式", "bold": "粗體", "systemShortcutFF": "\"${0}\" 動作在 Mozilla Firefox 中,只能使用鍵盤快速鍵。請使用 ${1}。", "justifyRight": "靠右對齊", "appleKey": "⌘${0}", "ctrlKey": "ctrl+${0}"})
|
||||
@@ -1 +1 @@
|
||||
({"set":"设定","text":"文本:","title":"链接 URL","url":"URL:","urlInvalidMessage":"URL 无效。请输入完整的 URL,如“http://www.dojotoolkit.org”","insertImageTitle":"Image Properties","createLinkTitle":"Link Properties"})
|
||||
({"set": "设定", "text": "文本:", "title": "链接 URL", "url": "URL:", "urlInvalidMessage": "URL 无效。请输入完整的 URL,如“http://www.dojotoolkit.org”"})
|
||||
@@ -1 +1 @@
|
||||
({"removeFormat":"除去格式","copy":"复制","paste":"粘贴","selectAll":"全选","insertOrderedList":"编号列表","insertTable":"插入/编辑表","underline":"下划线","foreColor":"前景色","htmlToggle":"HTML 源代码","formatBlock":"段落样式","insertHorizontalRule":"水平线","delete":"删除","insertUnorderedList":"符号列表","tableProp":"表属性","insertImage":"插入图像","superscript":"上标","subscript":"下标","createLink":"创建链接","undo":"撤销","italic":"斜体","fontName":"字体名称","justifyLeft":"左对齐","unlink":"除去链接","toggleTableBorder":"切换表边框","fontSize":"字体大小","indent":"增加缩进","redo":"重做","strikethrough":"删除线","justifyFull":"对齐","justifyCenter":"居中","hiliteColor":"背景色","deleteTable":"删除表","outdent":"减少缩进","cut":"剪切","plainFormatBlock":"段落样式","bold":"粗体","systemShortcutFF":"只能在 Mozilla Firefox 中通过键盘快捷方式执行“${0}”操作。请使用 ${1}。","justifyRight":"右对齐","appleKey":"⌘${0}","ctrlKey":"ctrl+${0}","toggleDir":"Toggle Direction"})
|
||||
({"removeFormat": "除去格式", "copy": "复制", "paste": "粘贴", "selectAll": "全选", "insertOrderedList": "编号列表", "insertTable": "插入/编辑表", "underline": "下划线", "foreColor": "前景色", "htmlToggle": "HTML 源代码", "formatBlock": "段落样式", "insertHorizontalRule": "水平线", "delete": "删除", "insertUnorderedList": "符号列表", "tableProp": "表属性", "insertImage": "插入图像", "superscript": "上标", "subscript": "下标", "createLink": "创建链接", "undo": "撤销", "italic": "斜体", "fontName": "字体名称", "justifyLeft": "左对齐", "unlink": "除去链接", "toggleTableBorder": "切换表边框", "fontSize": "字体大小", "indent": "增加缩进", "redo": "重做", "strikethrough": "删除线", "justifyFull": "对齐", "justifyCenter": "居中", "hiliteColor": "背景色", "deleteTable": "删除表", "outdent": "减少缩进", "cut": "剪切", "plainFormatBlock": "段落样式", "bold": "粗体", "systemShortcutFF": "只能在 Mozilla Firefox 中通过键盘快捷方式执行“${0}”操作。请使用 ${1}。", "justifyRight": "右对齐", "appleKey": "⌘${0}", "ctrlKey": "ctrl+${0}"})
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright (c) 2004-2008, The Dojo Foundation
|
||||
Copyright (c) 2004-2007, The Dojo Foundation
|
||||
All Rights Reserved.
|
||||
|
||||
Licensed under the Academic Free License version 2.1 or above OR the
|
||||
@@ -9,4 +9,4 @@
|
||||
*/
|
||||
|
||||
|
||||
if(!dojo._hasResource["dijit._editor.plugins.AlwaysShowToolbar"]){dojo._hasResource["dijit._editor.plugins.AlwaysShowToolbar"]=true;dojo.provide("dijit._editor.plugins.AlwaysShowToolbar");dojo.declare("dijit._editor.plugins.AlwaysShowToolbar",dijit._editor._Plugin,{_handleScroll:true,setEditor:function(e){this.editor=e;e.onLoadDeferred.addCallback(dojo.hitch(this,this.enable));},enable:function(d){this._updateHeight();this.connect(window,"onscroll","globalOnScrollHandler");this.connect(this.editor,"onNormalizedDisplayChanged","_updateHeight");return d;},_updateHeight:function(){var e=this.editor;if(!e.isLoaded){return;}if(e.height){return;}var _4=dojo.marginBox(e.editNode).h;if(dojo.isOpera){_4=e.editNode.scrollHeight;}if(!_4){_4=dojo.marginBox(e.document.body).h;}if(_4==0){console.debug("Can not figure out the height of the editing area!");return;}if(_4!=this._lastHeight){this._lastHeight=_4;dojo.marginBox(e.iframe,{h:this._lastHeight});}},_lastHeight:0,globalOnScrollHandler:function(){var _5=dojo.isIE&&dojo.isIE<7;if(!this._handleScroll){return;}var _6=this.editor.toolbar.domNode;var db=dojo.body;if(!this._scrollSetUp){this._scrollSetUp=true;this._scrollThreshold=dojo._abs(_6,true).y;}var _8=dojo._docScroll().y;var s=_6.style;if(_8>this._scrollThreshold&&_8<this._scrollThreshold+this._lastHeight){if(!this._fixEnabled){var _a=dojo.marginBox(_6);this.editor.iframe.style.marginTop=_a.h+"px";if(_5){s.left=dojo._abs(_6).x;if(_6.previousSibling){this._IEOriginalPos=["after",_6.previousSibling];}else{if(_6.nextSibling){this._IEOriginalPos=["before",_6.nextSibling];}else{this._IEOriginalPos=["last",_6.parentNode];}}dojo.body().appendChild(_6);dojo.addClass(_6,"dijitIEFixedToolbar");}else{s.position="fixed";s.top="0px";}dojo.marginBox(_6,{w:_a.w});s.zIndex=2000;this._fixEnabled=true;}var _b=(this.height)?parseInt(this.editor.height):this.editor._lastHeight;s.display=(_8>this._scrollThreshold+_b)?"none":"";}else{if(this._fixEnabled){this.editor.iframe.style.marginTop="";s.position="";s.top="";s.zIndex="";s.display="";if(_5){s.left="";dojo.removeClass(_6,"dijitIEFixedToolbar");if(this._IEOriginalPos){dojo.place(_6,this._IEOriginalPos[1],this._IEOriginalPos[0]);this._IEOriginalPos=null;}else{dojo.place(_6,this.editor.iframe,"before");}}s.width="";this._fixEnabled=false;}}},destroy:function(){this._IEOriginalPos=null;this._handleScroll=false;dojo.forEach(this._connects,dojo.disconnect);if(dojo.isIE&&dojo.isIE<7){dojo.removeClass(this.editor.toolbar.domNode,"dijitIEFixedToolbar");}}});}
|
||||
if(!dojo._hasResource["dijit._editor.plugins.AlwaysShowToolbar"]){dojo._hasResource["dijit._editor.plugins.AlwaysShowToolbar"]=true;dojo.provide("dijit._editor.plugins.AlwaysShowToolbar");dojo.declare("dijit._editor.plugins.AlwaysShowToolbar",null,{_handleScroll:true,setEditor:function(e){this.editor=e;e.onLoadDeferred.addCallback(dojo.hitch(this,this.enable));},enable:function(d){this._updateHeight();this._connects=[dojo.connect(window,"onscroll",this,"globalOnScrollHandler"),dojo.connect(this.editor,"onNormalizedDisplayChanged",this,"_updateHeight")];return d;},_updateHeight:function(){var e=this.editor;if(!e.isLoaded){return;}if(e.height){return;}var _4=dojo.marginBox(e.editNode).h;if(dojo.isOpera){_4=e.editNode.scrollHeight;}if(!_4){_4=dojo.marginBox(e.document.body).h;}if(_4==0){console.debug("Can not figure out the height of the editing area!");return;}if(_4!=this._lastHeight){this._lastHeight=_4;dojo.marginBox(e.iframe,{h:this._lastHeight});}},_lastHeight:0,globalOnScrollHandler:function(){var _5=dojo.isIE&&dojo.isIE<7;if(!this._handleScroll){return;}var _6=this.editor.toolbar.domNode;var db=dojo.body;if(!this._scrollSetUp){this._scrollSetUp=true;this._scrollThreshold=dojo._abs(_6,true).y;}var _8=dojo._docScroll().y;if(_8>this._scrollThreshold&&_8<this._scrollThreshold+this._lastHeight){if(!this._fixEnabled){var _9=dojo.marginBox(_6);this.editor.iframe.style.marginTop=_9.h+"px";if(_5){_6.style.left=dojo._abs(_6).x;if(_6.previousSibling){this._IEOriginalPos=["after",_6.previousSibling];}else{if(_6.nextSibling){this._IEOriginalPos=["before",_6.nextSibling];}else{this._IEOriginalPos=["last",_6.parentNode];}}dojo.body().appendChild(_6);dojo.addClass(_6,"IEFixedToolbar");}else{with(_6.style){position="fixed";top="0px";}}dojo.marginBox(_6,{w:_9.w});_6.style.zIndex=2000;this._fixEnabled=true;}var _a=(this.height)?parseInt(this.editor.height):this.editor._lastHeight;if(_8>(this._scrollThreshold+_a)){_6.style.display="none";}else{_6.style.display="";}}else{if(this._fixEnabled){this.editor.iframe.style.marginTop="";with(_6.style){position="";top="";zIndex="";display="";}if(_5){_6.style.left="";dojo.removeClass(_6,"IEFixedToolbar");if(this._IEOriginalPos){dojo.place(_6,this._IEOriginalPos[1],this._IEOriginalPos[0]);this._IEOriginalPos=null;}else{dojo.place(_6,this.editor.iframe,"before");}}_6.style.width="";this._fixEnabled=false;}}},destroy:function(){this._IEOriginalPos=null;this._handleScroll=false;dojo.forEach(this._connects,dojo.disconnect);if(dojo.isIE&&dojo.isIE<7){dojo.removeClass(this.editor.toolbar.domNode,"IEFixedToolbar");}}});}
|
||||
File diff suppressed because one or more lines are too long
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright (c) 2004-2008, The Dojo Foundation
|
||||
Copyright (c) 2004-2007, The Dojo Foundation
|
||||
All Rights Reserved.
|
||||
|
||||
Licensed under the Academic Free License version 2.1 or above OR the
|
||||
@@ -9,4 +9,4 @@
|
||||
*/
|
||||
|
||||
|
||||
if(!dojo._hasResource["dijit._editor.plugins.FontChoice"]){dojo._hasResource["dijit._editor.plugins.FontChoice"]=true;dojo.provide("dijit._editor.plugins.FontChoice");dojo.require("dijit._editor._Plugin");dojo.require("dijit.form.FilteringSelect");dojo.require("dojo.data.ItemFileReadStore");dojo.require("dojo.i18n");dojo.requireLocalization("dijit._editor","FontChoice",null,"ROOT,gr");dojo.declare("dijit._editor.plugins.FontChoice",dijit._editor._Plugin,{_uniqueId:0,buttonClass:dijit.form.FilteringSelect,_initButton:function(){var _1=this.command;var _2=this.custom||{fontName:this.generic?["serif","sans-serif","monospace","cursive","fantasy"]:["Arial","Times New Roman","Comic Sans MS","Courier New"],fontSize:[1,2,3,4,5,6,7],formatBlock:["p","h1","h2","h3","pre"]}[_1];var _3=dojo.i18n.getLocalization("dijit._editor","FontChoice");var _4=dojo.map(_2,function(_5){var _6=_3[_5]||_5;var _7=_6;switch(_1){case "fontName":_7="<div style='font-family: "+_5+"'>"+_6+"</div>";break;case "fontSize":_7="<font size="+_5+"'>"+_6+"</font>";break;case "formatBlock":_7="<"+_5+">"+_6+"</"+_5+">";}return {label:_7,name:_6,value:_5};});_4.push({label:"",name:"",value:""});dijit._editor.plugins.FontChoice.superclass._initButton.apply(this,[{labelType:"html",labelAttr:"label",searchAttr:"name",store:new dojo.data.ItemFileReadStore({data:{identifier:"value",items:_4}})}]);this.button.setValue("");this.connect(this.button,"onChange",function(_8){if(this.updating){return;}if(dojo.isIE&&"_savedSelection" in this){var b=this._savedSelection;delete this._savedSelection;this.editor.focus();this.editor._moveToBookmark(b);}else{dijit.focus(this._focusHandle);}if(this.command=="fontName"&&_8.indexOf(" ")!=-1){_8="'"+_8+"'";}this.editor.execCommand(this.editor._normalizeCommand(this.command),_8);});},updateState:function(){this.inherited(arguments);var _e=this.editor;var _c=this.command;if(!_e||!_e.isLoaded||!_c.length){return;}if(this.button){var _c=_e.queryCommandValue(this.editor._normalizeCommand(_c))||"";var _d=dojo.isString(_c)&&_c.match(/'([^']*)'/);if(_d){_c=_d[1];}if(this.generic&&_c=="fontName"){var _e={"Arial":"sans-serif","Helvetica":"sans-serif","Myriad":"sans-serif","Times":"serif","Times New Roman":"serif","Comic Sans MS":"cursive","Apple Chancery":"cursive","Courier":"monospace","Courier New":"monospace","Papyrus":"fantasy"};_c=_e[_c]||_c;}else{if(_c=="fontSize"&&_c.indexOf&&_c.indexOf("px")!=-1){var _f=parseInt(_c);_c={10:1,13:2,16:3,18:4,24:5,32:6,48:7}[_f]||_c;}}this.updating=true;this.button.setValue(_c);delete this.updating;}if(dojo.isIE){this._savedSelection=this.editor._getBookmark();}this._focusHandle=dijit.getFocus(this.editor.iframe);},setToolbar:function(){this.inherited(arguments);var _10=this.button;if(!_10.id){_10.id=dijit._scopeName+"EditorButton-"+this.command+(this._uniqueId++);}var _11=dojo.doc.createElement("label");dojo.addClass(_11,"dijit dijitReset dijitLeft dijitInline");_11.setAttribute("for",_10.id);var _12=dojo.i18n.getLocalization("dijit._editor","FontChoice");_11.appendChild(dojo.doc.createTextNode(_12[this.command]));dojo.place(_11,this.button.domNode,"before");}});dojo.subscribe(dijit._scopeName+".Editor.getPlugin",null,function(o){if(o.plugin){return;}switch(o.args.name){case "fontName":case "fontSize":case "formatBlock":o.plugin=new dijit._editor.plugins.FontChoice({command:o.args.name});}});}
|
||||
if(!dojo._hasResource["dijit._editor.plugins.FontChoice"]){dojo._hasResource["dijit._editor.plugins.FontChoice"]=true;dojo.provide("dijit._editor.plugins.FontChoice");dojo.require("dijit._editor._Plugin");dojo.require("dijit.form.FilteringSelect");dojo.require("dojo.data.ItemFileReadStore");dojo.require("dojo.i18n");dojo.requireLocalization("dijit._editor","FontChoice",null,"ROOT");dojo.declare("dijit._editor.plugins.FontChoice",dijit._editor._Plugin,{_uniqueId:0,buttonClass:dijit.form.FilteringSelect,_initButton:function(){this.inherited("_initButton",arguments);var _1={fontName:["serif","sans-serif","monospaced","cursive","fantasy"],fontSize:[1,2,3,4,5,6,7],formatBlock:["p","h1","h2","h3","pre"]}[this.command];var _2=dojo.i18n.getLocalization("dijit._editor","FontChoice");var _3=dojo.map(_1,function(x){return {name:_2[x],value:x};});_3.push({name:"",value:""});this.button.store=new dojo.data.ItemFileReadStore({data:{identifier:"value",items:_3}});this.button.setValue("");dojo.connect(this.button,"onChange",this,function(_5){this.editor.execCommand(this.command,_5);});},updateState:function(){this.inherited("updateState",arguments);var _e=this.editor;var _c=this.command;if(!_e||!_e.isLoaded||!_c.length){return;}if(this.button){var _8=_e.queryCommandValue(_c);this.button.setValue(_8);}},setToolbar:function(){this.inherited("setToolbar",arguments);var _9=this.button;if(!_9.id){_9.id="dijitEditorButton-"+this.command+(this._uniqueId++);}var _a=dojo.doc.createElement("label");_a.setAttribute("for",_9.id);var _b=dojo.i18n.getLocalization("dijit._editor","FontChoice");_a.appendChild(dojo.doc.createTextNode(_b[this.command]));dojo.place(_a,this.button.domNode,"before");}});}
|
||||
File diff suppressed because one or more lines are too long
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright (c) 2004-2008, The Dojo Foundation
|
||||
Copyright (c) 2004-2007, The Dojo Foundation
|
||||
All Rights Reserved.
|
||||
|
||||
Licensed under the Academic Free License version 2.1 or above OR the
|
||||
@@ -9,4 +9,4 @@
|
||||
*/
|
||||
|
||||
|
||||
if(!dojo._hasResource["dijit._editor.plugins.TextColor"]){dojo._hasResource["dijit._editor.plugins.TextColor"]=true;dojo.provide("dijit._editor.plugins.TextColor");dojo.require("dijit._editor._Plugin");dojo.require("dijit.ColorPalette");dojo.declare("dijit._editor.plugins.TextColor",dijit._editor._Plugin,{buttonClass:dijit.form.DropDownButton,constructor:function(){this.dropDown=new dijit.ColorPalette();this.connect(this.dropDown,"onChange",function(_1){this.editor.execCommand(this.command,_1);});}});dojo.subscribe(dijit._scopeName+".Editor.getPlugin",null,function(o){if(o.plugin){return;}switch(o.args.name){case "foreColor":case "hiliteColor":o.plugin=new dijit._editor.plugins.TextColor({command:o.args.name});}});}
|
||||
if(!dojo._hasResource["dijit._editor.plugins.TextColor"]){dojo._hasResource["dijit._editor.plugins.TextColor"]=true;dojo.provide("dijit._editor.plugins.TextColor");dojo.require("dijit._editor._Plugin");dojo.require("dijit.ColorPalette");dojo.declare("dijit._editor.plugins.TextColor",dijit._editor._Plugin,{buttonClass:dijit.form.DropDownButton,constructor:function(){this.dropDown=new dijit.ColorPalette();dojo.connect(this.dropDown,"onChange",this,function(_1){this.editor.execCommand(this.command,_1);});}});}
|
||||
File diff suppressed because one or more lines are too long
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright (c) 2004-2008, The Dojo Foundation
|
||||
Copyright (c) 2004-2007, The Dojo Foundation
|
||||
All Rights Reserved.
|
||||
|
||||
Licensed under the Academic Free License version 2.1 or above OR the
|
||||
@@ -9,4 +9,4 @@
|
||||
*/
|
||||
|
||||
|
||||
if(!dojo._hasResource["dijit._editor.selection"]){dojo._hasResource["dijit._editor.selection"]=true;dojo.provide("dijit._editor.selection");dojo.mixin(dijit._editor.selection,{getType:function(){if(dojo.doc.selection){return dojo.doc.selection.type.toLowerCase();}else{var _1="text";var _2;try{_2=dojo.global.getSelection();}catch(e){}if(_2&&_2.rangeCount==1){var _3=_2.getRangeAt(0);if((_3.startContainer==_3.endContainer)&&((_3.endOffset-_3.startOffset)==1)&&(_3.startContainer.nodeType!=3)){_1="control";}}return _1;}},getSelectedText:function(){if(dojo.doc.selection){if(dijit._editor.selection.getType()=="control"){return null;}return dojo.doc.selection.createRange().text;}else{var _4=dojo.global.getSelection();if(_4){return _4.toString();}}return "";},getSelectedHtml:function(){if(dojo.doc.selection){if(dijit._editor.selection.getType()=="control"){return null;}return dojo.doc.selection.createRange().htmlText;}else{var _5=dojo.global.getSelection();if(_5&&_5.rangeCount){var _6=_5.getRangeAt(0).cloneContents();var _7=dojo.doc.createElement("div");_7.appendChild(_6);return _7.innerHTML;}return null;}},getSelectedElement:function(){if(this.getType()=="control"){if(dojo.doc.selection){var _8=dojo.doc.selection.createRange();if(_8&&_8.item){return dojo.doc.selection.createRange().item(0);}}else{var _9=dojo.global.getSelection();return _9.anchorNode.childNodes[_9.anchorOffset];}}return null;},getParentElement:function(){if(this.getType()=="control"){var p=this.getSelectedElement();if(p){return p.parentNode;}}else{if(dojo.doc.selection){return dojo.doc.selection.createRange().parentElement();}else{var _b=dojo.global.getSelection();if(_b){var _c=_b.anchorNode;while(_c&&(_c.nodeType!=1)){_c=_c.parentNode;}return _c;}}}return null;},hasAncestorElement:function(_d){return this.getAncestorElement.apply(this,arguments)!=null;},getAncestorElement:function(_e){var _f=this.getSelectedElement()||this.getParentElement();return this.getParentOfType(_f,arguments);},isTag:function(_10,_11){if(_10&&_10.tagName){var _12=_10.tagName.toLowerCase();for(var i=0;i<_11.length;i++){var _14=String(_11[i]).toLowerCase();if(_12==_14){return _14;}}}return "";},getParentOfType:function(_15,_16){while(_15){if(this.isTag(_15,_16).length){return _15;}_15=_15.parentNode;}return null;},collapse:function(_17){if(window["getSelection"]){var _18=dojo.global.getSelection();if(_18.removeAllRanges){if(_17){_18.collapseToStart();}else{_18.collapseToEnd();}}else{_18.collapse(_17);}}else{if(dojo.doc.selection){var _19=dojo.doc.selection.createRange();_19.collapse(_17);_19.select();}}},remove:function(){var _s=dojo.doc.selection;if(_s){if(_s.type.toLowerCase()!="none"){_s.clear();}return _s;}else{_s=dojo.global.getSelection();_s.deleteFromDocument();return _s;}},selectElementChildren:function(_1b,_1c){var _1d=dojo.global;var _1e=dojo.doc;_1b=dojo.byId(_1b);if(_1e.selection&&dojo.body().createTextRange){var _1f=_1b.ownerDocument.body.createTextRange();_1f.moveToElementText(_1b);if(!_1c){try{_1f.select();}catch(e){}}}else{if(_1d.getSelection){var _20=_1d.getSelection();if(_20.setBaseAndExtent){_20.setBaseAndExtent(_1b,0,_1b,_1b.innerText.length-1);}else{if(_20.selectAllChildren){_20.selectAllChildren(_1b);}}}}},selectElement:function(_21,_22){var _23,_24=dojo.doc;_21=dojo.byId(_21);if(_24.selection&&dojo.body().createTextRange){try{_23=dojo.body().createControlRange();_23.addElement(_21);if(!_22){_23.select();}}catch(e){this.selectElementChildren(_21,_22);}}else{if(dojo.global.getSelection){var _25=dojo.global.getSelection();if(_25.removeAllRanges){_23=_24.createRange();_23.selectNode(_21);_25.removeAllRanges();_25.addRange(_23);}}}}});}
|
||||
if(!dojo._hasResource["dijit._editor.selection"]){dojo._hasResource["dijit._editor.selection"]=true;dojo.provide("dijit._editor.selection");dojo.mixin(dijit._editor.selection,{getType:function(){if(dojo.doc["selection"]){return dojo.doc.selection.type.toLowerCase();}else{var _1="text";var _2;try{_2=dojo.global.getSelection();}catch(e){}if(_2&&_2.rangeCount==1){var _3=_2.getRangeAt(0);if((_3.startContainer==_3.endContainer)&&((_3.endOffset-_3.startOffset)==1)&&(_3.startContainer.nodeType!=3)){_1="control";}}return _1;}},getSelectedText:function(){if(dojo.doc["selection"]){if(dijit._editor.selection.getType()=="control"){return null;}return dojo.doc.selection.createRange().text;}else{var _4=dojo.global.getSelection();if(_4){return _4.toString();}}},getSelectedHtml:function(){if(dojo.doc["selection"]){if(dijit._editor.selection.getType()=="control"){return null;}return dojo.doc.selection.createRange().htmlText;}else{var _5=dojo.global.getSelection();if(_5&&_5.rangeCount){var _6=_5.getRangeAt(0).cloneContents();var _7=document.createElement("div");_7.appendChild(_6);return _7.innerHTML;}return null;}},getSelectedElement:function(){if(this.getType()=="control"){if(dojo.doc["selection"]){var _8=dojo.doc.selection.createRange();if(_8&&_8.item){return dojo.doc.selection.createRange().item(0);}}else{var _9=dojo.global.getSelection();return _9.anchorNode.childNodes[_9.anchorOffset];}}},getParentElement:function(){if(this.getType()=="control"){var p=this.getSelectedElement();if(p){return p.parentNode;}}else{if(dojo.doc["selection"]){return dojo.doc.selection.createRange().parentElement();}else{var _b=dojo.global.getSelection();if(_b){var _c=_b.anchorNode;while(_c&&(_c.nodeType!=1)){_c=_c.parentNode;}return _c;}}}},hasAncestorElement:function(_d){return (this.getAncestorElement.apply(this,arguments)!=null);},getAncestorElement:function(_e){var _f=this.getSelectedElement()||this.getParentElement();return this.getParentOfType(_f,arguments);},isTag:function(_10,_11){if(_10&&_10.tagName){var _12=_10.tagName.toLowerCase();for(var i=0;i<_11.length;i++){var _14=String(_11[i]).toLowerCase();if(_12==_14){return _14;}}}return "";},getParentOfType:function(_15,_16){while(_15){if(this.isTag(_15,_16).length){return _15;}_15=_15.parentNode;}return null;},remove:function(){var _s=dojo.doc.selection;if(_s){if(_s.type.toLowerCase()!="none"){_s.clear();}return _s;}else{_s=dojo.global.getSelection();_s.deleteFromDocument();return _s;}},selectElementChildren:function(_18,_19){var _1a=dojo.global;var _1b=dojo.doc;_18=dojo.byId(_18);if(_1b.selection&&dojo.body().createTextRange){var _1c=_18.ownerDocument.body.createTextRange();_1c.moveToElementText(_18);if(!_19){_1c.select();}}else{if(_1a["getSelection"]){var _1d=_1a.getSelection();if(_1d["setBaseAndExtent"]){_1d.setBaseAndExtent(_18,0,_18,_18.innerText.length-1);}else{if(_1d["selectAllChildren"]){_1d.selectAllChildren(_18);}}}}},selectElement:function(_1e,_1f){var _20=dojo.doc;_1e=dojo.byId(_1e);if(_20.selection&&dojo.body().createTextRange){try{var _21=dojo.body().createControlRange();_21.addElement(_1e);if(!_1f){_21.select();}}catch(e){this.selectElementChildren(_1e,_1f);}}else{if(dojo.global["getSelection"]){var _22=dojo.global.getSelection();if(_22["removeAllRanges"]){var _21=_20.createRange();_21.selectNode(_1e);_22.removeAllRanges();_22.addRange(_21);}}}}});}
|
||||
@@ -1,12 +1,11 @@
|
||||
<div class="dijitTreeNode" waiRole="presentation"
|
||||
><div dojoAttachPoint="rowNode" waiRole="presentation"
|
||||
><span dojoAttachPoint="expandoNode" class="dijitTreeExpando" waiRole="presentation"
|
||||
></span
|
||||
><span dojoAttachPoint="expandoNodeText" class="dijitExpandoText" waiRole="presentation"
|
||||
></span
|
||||
><div dojoAttachPoint="contentNode" class="dijitTreeContent" waiRole="presentation">
|
||||
<div dojoAttachPoint="iconNode" class="dijitInline dijitTreeIcon" waiRole="presentation"></div>
|
||||
<span dojoAttachPoint="labelNode" class="dijitTreeLabel" wairole="treeitem" tabindex="-1" waiState="selected-false" dojoAttachEvent="onfocus:_onNodeFocus"></span>
|
||||
</div
|
||||
></div>
|
||||
<div class="dijitTreeNode dijitTreeExpandLeaf dijitTreeChildrenNo" waiRole="presentation"
|
||||
><span dojoAttachPoint="expandoNode" class="dijitTreeExpando" waiRole="presentation"
|
||||
></span
|
||||
><span dojoAttachPoint="expandoNodeText" class="dijitExpandoText" waiRole="presentation"
|
||||
></span
|
||||
>
|
||||
<div dojoAttachPoint="contentNode" class="dijitTreeContent" waiRole="presentation">
|
||||
<div dojoAttachPoint="iconNode" class="dijitInline dijitTreeIcon" waiRole="presentation"></div>
|
||||
<span dojoAttachPoint="labelNode" class="dijitTreeLabel" wairole="treeitem" tabindex="-1"></span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -1,3 +1,15 @@
|
||||
<div class="dijitTreeContainer" waiRole="tree"
|
||||
<div class="dijitTreeContainer" style="" waiRole="tree"
|
||||
dojoAttachEvent="onclick:_onClick,onkeypress:_onKeyPress">
|
||||
<div class="dijitTreeNode dijitTreeIsRoot dijitTreeExpandLeaf dijitTreeChildrenNo" waiRole="presentation"
|
||||
dojoAttachPoint="rowNode"
|
||||
><span dojoAttachPoint="expandoNode" class="dijitTreeExpando" waiRole="presentation"
|
||||
></span
|
||||
><span dojoAttachPoint="expandoNodeText" class="dijitExpandoText" waiRole="presentation"
|
||||
></span
|
||||
>
|
||||
<div dojoAttachPoint="contentNode" class="dijitTreeContent" waiRole="presentation">
|
||||
<div dojoAttachPoint="iconNode" class="dijitInline dijitTreeIcon" waiRole="presentation"></div>
|
||||
<span dojoAttachPoint="labelNode" class="dijitTreeLabel" wairole="treeitem" tabindex="0"></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright (c) 2004-2008, The Dojo Foundation
|
||||
Copyright (c) 2004-2007, The Dojo Foundation
|
||||
All Rights Reserved.
|
||||
|
||||
Licensed under the Academic Free License version 2.1 or above OR the
|
||||
@@ -9,4 +9,4 @@
|
||||
*/
|
||||
|
||||
|
||||
if(!dojo._hasResource["dijit._tree.dndContainer"]){dojo._hasResource["dijit._tree.dndContainer"]=true;dojo.provide("dijit._tree.dndContainer");dojo.require("dojo.dnd.common");dojo.require("dojo.dnd.Container");dojo.declare("dijit._tree.dndContainer",null,{constructor:function(_1,_2){this.tree=_1;this.node=_1.domNode;dojo.mixin(this,_2);this.map={};this.current=null;this.containerState="";dojo.addClass(this.node,"dojoDndContainer");if(!(_2&&_2._skipStartup)){this.startup();}this.events=[dojo.connect(this.node,"onmouseover",this,"onMouseOver"),dojo.connect(this.node,"onmouseout",this,"onMouseOut"),dojo.connect(this.node,"ondragstart",dojo,"stopEvent"),dojo.connect(this.node,"onselectstart",dojo,"stopEvent")];},getItem:function(_3){return this.selection[_3];},onMouseOver:function(e){var rt=e.relatedTarget;while(rt){if(rt==this.node){break;}try{rt=rt.parentNode;}catch(x){rt=null;}}if(!rt){this._changeState("Container","Over");this.onOverEvent();}var n=this._getChildByEvent(e);if(this.current==n){return;}if(this.current){this._removeItemClass(this.current,"Over");}if(n){this._addItemClass(n,"Over");}this.current=n;},onMouseOut:function(e){for(var n=e.relatedTarget;n;){if(n==this.node){return;}try{n=n.parentNode;}catch(x){n=null;}}if(this.current){this._removeItemClass(this.current,"Over");this.current=null;}this._changeState("Container","");this.onOutEvent();},_changeState:function(_9,_a){var _b="dojoDnd"+_9;var _c=_9.toLowerCase()+"State";dojo.removeClass(this.node,_b+this[_c]);dojo.addClass(this.node,_b+_a);this[_c]=_a;},_getChildByEvent:function(e){var _e=e.target;if(_e){for(var _f=_e.parentNode;_f;_e=_f,_f=_e.parentNode){if(dojo.hasClass(_e,"dijitTreeContent")){return _e;}}}return null;},markupFactory:function(_10,_11){_11._skipStartup=true;return new dijit._tree.dndContainer(_10,_11);},_addItemClass:function(_12,_13){dojo.addClass(_12,"dojoDndItem"+_13);},_removeItemClass:function(_14,_15){dojo.removeClass(_14,"dojoDndItem"+_15);},onOverEvent:function(){},onOutEvent:function(){}});}
|
||||
if(!dojo._hasResource["dijit._tree.dndContainer"]){dojo._hasResource["dijit._tree.dndContainer"]=true;dojo.provide("dijit._tree.dndContainer");dojo.require("dojo.dnd.common");dojo.require("dojo.dnd.Container");dojo.declare("dijit._tree.dndContainer",null,{constructor:function(_1,_2){this.tree=_1;this.node=_1.domNode;dojo.mixin(this,_2);this.map={};this.current=null;this.ContainerState="";dojo.addClass(this.node,"dojoDndContainer");if(!(_2&&_2._skipStartup)){this.startup();}this.events=[dojo.connect(this.node,"onmouseover",this,"onMouseOver"),dojo.connect(this.node,"onmouseout",this,"onMouseOut"),dojo.connect(this.node,"ondragstart",dojo,"stopEvent"),dojo.connect(this.node,"onselectstart",dojo,"stopEvent")];},getItem:function(_3){return this.selection[_3];},onMouseOver:function(e){var n=e.relatedTarget;while(n){if(n==this.node){break;}try{n=n.parentNode;}catch(x){n=null;}}if(!n){this._changeState("Container","Over");this.onOverEvent();}n=this._getChildByEvent(e);if(this.current==n){return;}if(this.current){this._removeItemClass(this.current,"Over");}if(n){this._addItemClass(n,"Over");}this.current=n;},onMouseOut:function(e){for(var n=e.relatedTarget;n;){if(n==this.node){return;}try{n=n.parentNode;}catch(x){n=null;}}if(this.current){this._removeItemClass(this.current,"Over");this.current=null;}this._changeState("Container","");this.onOutEvent();},_changeState:function(_8,_9){var _a="dojoDnd"+_8;var _b=_8.toLowerCase()+"State";dojo.removeClass(this.node,_a+this[_b]);dojo.addClass(this.node,_a+_9);this[_b]=_9;},_getChildByEvent:function(e){var _d=e.target;if(_d&&dojo.hasClass(_d,"dijitTreeLabel")){return _d;}return null;},markupFactory:function(_e,_f){_f._skipStartup=true;return new dijit._tree.dndContainer(_e,_f);},_addItemClass:function(_10,_11){dojo.addClass(_10,"dojoDndItem"+_11);},_removeItemClass:function(_12,_13){dojo.removeClass(_12,"dojoDndItem"+_13);},onOverEvent:function(){console.log("onOverEvent parent");},onOutEvent:function(){}});}
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright (c) 2004-2008, The Dojo Foundation
|
||||
Copyright (c) 2004-2007, The Dojo Foundation
|
||||
All Rights Reserved.
|
||||
|
||||
Licensed under the Academic Free License version 2.1 or above OR the
|
||||
@@ -9,4 +9,4 @@
|
||||
*/
|
||||
|
||||
|
||||
if(!dojo._hasResource["dijit._tree.dndSelector"]){dojo._hasResource["dijit._tree.dndSelector"]=true;dojo.provide("dijit._tree.dndSelector");dojo.require("dojo.dnd.common");dojo.require("dijit._tree.dndContainer");dojo.declare("dijit._tree.dndSelector",dijit._tree.dndContainer,{constructor:function(_1,_2){this.selection={};this.anchor=null;this.simpleSelection=false;this.events.push(dojo.connect(this.tree.domNode,"onmousedown",this,"onMouseDown"),dojo.connect(this.tree.domNode,"onmouseup",this,"onMouseUp"));},singular:false,getSelectedItems:function(){var _3=[];for(var i in this.selection){_3.push(dijit.getEnclosingWidget(this.selection[i]).item);}return _3;},getSelectedNodes:function(){return this.selection;},selectNone:function(){return this._removeSelection()._removeAnchor();},insertItems:function(_5,_6){},destroy:function(){dojo.dnd.Selector.superclass.destroy.call(this);this.selection=this.anchor=null;},onMouseDown:function(e){if(!this.current){return;}var _8=dijit.getEnclosingWidget(this.current).item;var id=this.tree.model.getIdentity(_8);if(!this.current.id){this.current.id=id;}if(!this.current.type){this.current.type="data";}if(!this.singular&&!dojo.dnd.getCopyKeyState(e)&&!e.shiftKey&&(this.current.id in this.selection)){this.simpleSelection=true;dojo.stopEvent(e);return;}if(this.singular){if(this.anchor==this.current){if(dojo.dnd.getCopyKeyState(e)){this.selectNone();}}else{this.selectNone();this.anchor=this.current;this._addItemClass(this.anchor,"Anchor");this.selection[this.current.id]=this.current;}}else{if(!this.singular&&e.shiftKey){if(dojo.dnd.getCopyKeyState(e)){}else{}}else{if(dojo.dnd.getCopyKeyState(e)){if(this.anchor==this.current){delete this.selection[this.anchor.id];this._removeAnchor();}else{if(this.current.id in this.selection){this._removeItemClass(this.current,"Selected");delete this.selection[this.current.id];}else{if(this.anchor){this._removeItemClass(this.anchor,"Anchor");this._addItemClass(this.anchor,"Selected");}this.anchor=this.current;this._addItemClass(this.current,"Anchor");this.selection[this.current.id]=this.current;}}}else{var _8=dijit.getEnclosingWidget(this.current).item;var id=this.tree.model.getIdentity(_8);if(!(id in this.selection)){this.selectNone();this.anchor=this.current;this._addItemClass(this.current,"Anchor");this.selection[id]=this.current;}}}}dojo.stopEvent(e);},onMouseMove:function(){},onOverEvent:function(){this.onmousemoveEvent=dojo.connect(this.node,"onmousemove",this,"onMouseMove");},onMouseUp:function(e){if(!this.simpleSelection){return;}this.simpleSelection=false;this.selectNone();if(this.current){this.anchor=this.current;this._addItemClass(this.anchor,"Anchor");this.selection[this.current.id]=this.current;}},_removeSelection:function(){var e=dojo.dnd._empty;for(var i in this.selection){if(i in e){continue;}var _d=dojo.byId(i);if(_d){this._removeItemClass(_d,"Selected");}}this.selection={};return this;},_removeAnchor:function(){if(this.anchor){this._removeItemClass(this.anchor,"Anchor");this.anchor=null;}return this;}});}
|
||||
if(!dojo._hasResource["dijit._tree.dndSelector"]){dojo._hasResource["dijit._tree.dndSelector"]=true;dojo.provide("dijit._tree.dndSelector");dojo.require("dojo.dnd.common");dojo.require("dijit._tree.dndContainer");dojo.declare("dijit._tree.dndSelector",dijit._tree.dndContainer,{constructor:function(_1,_2){this.selection={};this.anchor=null;this.simpleSelection=false;this.events.push(dojo.connect(this.tree.domNode,"onmousedown",this,"onMouseDown"),dojo.connect(this.tree.domNode,"onmouseup",this,"onMouseUp"));},singular:false,getSelectedItems:function(){var _3=[];for(var i in this.selection){_3.push(dijit.getEnclosingWidget(this.selection[i]).item);}return _3;},getSelectedNodes:function(){return this.selection;},selectNone:function(){return this._removeSelection()._removeAnchor();},insertItems:function(_5,_6){},destroy:function(){dojo.dnd.Selector.superclass.destroy.call(this);this.selection=this.anchor=null;},onMouseDown:function(e){if(!this.current){return;}var _8=dijit.getEnclosingWidget(this.current).item;var id=this.tree.store.getIdentity(_8);if(!this.current.id){this.current.id=id;}if(!this.current.type){this.current.type="data";}if(!this.singular&&!dojo.dnd.getCopyKeyState(e)&&!e.shiftKey&&(this.current.id in this.selection)){this.simpleSelection=true;dojo.stopEvent(e);return;}if(this.singular){if(this.anchor==this.current){if(dojo.dnd.getCopyKeyState(e)){this.selectNone();}}else{this.selectNone();this.anchor=this.current;this._addItemClass(this.anchor,"Anchor");this.selection[this.current.id]=this.current;}}else{if(!this.singular&&e.shiftKey){if(dojo.dnd.getCopyKeyState(e)){}else{}}else{if(dojo.dnd.getCopyKeyState(e)){if(this.anchor==this.current){delete this.selection[this.anchor.id];this._removeAnchor();}else{if(this.current.id in this.selection){this._removeItemClass(this.current,"Selected");delete this.selection[this.current.id];}else{if(this.anchor){this._removeItemClass(this.anchor,"Anchor");this._addItemClass(this.anchor,"Selected");}this.anchor=this.current;this._addItemClass(this.current,"Anchor");this.selection[this.current.id]=this.current;}}}else{var _8=dijit.getEnclosingWidget(this.current).item;var id=this.tree.store.getIdentity(_8);if(!(id in this.selection)){this.selectNone();this.anchor=this.current;this._addItemClass(this.current,"Anchor");this.selection[id]=this.current;}}}}dojo.stopEvent(e);},onMouseMove:function(){},onOverEvent:function(){this.onmousemoveEvent=dojo.connect(this.node,"onmousemove",this,"onMouseMove");},onMouseUp:function(e){if(!this.simpleSelection){return;}this.simpleSelection=false;this.selectNone();if(this.current){this.anchor=this.current;this._addItemClass(this.anchor,"Anchor");this.selection[this.current.id]=this.current;}},_removeSelection:function(){var e=dojo.dnd._empty;for(var i in this.selection){if(i in e){continue;}var _d=dojo.byId(i);if(_d){this._removeItemClass(_d,"Selected");}}this.selection={};return this;},_removeAnchor:function(){if(this.anchor){this._removeItemClass(this.anchor,"Anchor");this.anchor=null;}return this;}});}
|
||||
File diff suppressed because one or more lines are too long
@@ -120,9 +120,7 @@ function add_rec($table, $data) {
|
||||
|
||||
if ($query = mysql_query("insert into $table set $sqlfields")) {
|
||||
$id = mysql_insert_id();
|
||||
return ($id);
|
||||
}else{
|
||||
return FALSE;
|
||||
return ($id); } else { return FALSE; }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
function runTest(){
|
||||
if(isRunning){ return; }
|
||||
_toggleRunMsg();
|
||||
setTimeout(function(){_runRealTest();},1000);
|
||||
setTimeout("_runRealTest()",1000);
|
||||
}
|
||||
|
||||
function _runRealTest(){
|
||||
@@ -99,7 +99,7 @@
|
||||
});
|
||||
|
||||
dojo.byId("results").innerHTML += msg;
|
||||
setTimeout(function(){_toggleRunMsg();},250);
|
||||
setTimeout("_toggleRunMsg()",250);
|
||||
|
||||
// Nodes have to be in the document for IE7 to GC them.
|
||||
// Do this after generating the widgets to dispel
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright (c) 2004-2008, The Dojo Foundation
|
||||
Copyright (c) 2004-2007, The Dojo Foundation
|
||||
All Rights Reserved.
|
||||
|
||||
Licensed under the Academic Free License version 2.1 or above OR the
|
||||
@@ -9,4 +9,4 @@
|
||||
*/
|
||||
|
||||
|
||||
if(!dojo._hasResource["dijit.dijit-all"]){dojo._hasResource["dijit.dijit-all"]=true;console.warn("dijit-all may include much more code than your application actually requires. We strongly recommend that you investigate a custom build or the web build tool");dojo.provide("dijit.dijit-all");dojo.require("dijit.dijit");dojo.require("dijit.ColorPalette");dojo.require("dijit.Declaration");dojo.require("dijit.Dialog");dojo.require("dijit.Editor");dojo.require("dijit.Menu");dojo.require("dijit.ProgressBar");dojo.require("dijit.TitlePane");dojo.require("dijit.Toolbar");dojo.require("dijit.Tooltip");dojo.require("dijit.Tree");dojo.require("dijit.InlineEditBox");dojo.require("dijit.form.Button");dojo.require("dijit.form.CheckBox");dojo.require("dijit.form.ComboBox");dojo.require("dijit.form.CurrencyTextBox");dojo.require("dijit.form.DateTextBox");dojo.require("dijit.form.FilteringSelect");dojo.require("dijit.form.NumberSpinner");dojo.require("dijit.form.NumberTextBox");dojo.require("dijit.form.Slider");dojo.require("dijit.form.Textarea");dojo.require("dijit.form.TextBox");dojo.require("dijit.form.ValidationTextBox");dojo.require("dijit.form._FormWidget");dojo.require("dijit.form._Spinner");dojo.require("dijit.layout.AccordionContainer");dojo.require("dijit.layout.ContentPane");dojo.require("dijit.layout.BorderContainer");dojo.require("dijit.layout.LayoutContainer");dojo.require("dijit.layout.LinkPane");dojo.require("dijit.layout.SplitContainer");dojo.require("dijit.layout.StackContainer");dojo.require("dijit.layout.TabContainer");dojo.require("dijit.layout._LayoutWidget");}
|
||||
if(!dojo._hasResource["dijit.dijit-all"]){dojo._hasResource["dijit.dijit-all"]=true;console.warn("dijit-all may include much more code than your application actually requires. We strongly recommend that you investigate a custom build or the web build tool");dojo.provide("dijit.dijit-all");dojo.require("dijit.dijit");dojo.require("dijit.ColorPalette");dojo.require("dijit.Declaration");dojo.require("dijit.Dialog");dojo.require("dijit.Editor");dojo.require("dijit.Menu");dojo.require("dijit.ProgressBar");dojo.require("dijit.TitlePane");dojo.require("dijit.Toolbar");dojo.require("dijit.Tooltip");dojo.require("dijit.Tree");dojo.require("dijit.InlineEditBox");dojo.require("dijit.form.Button");dojo.require("dijit.form.CheckBox");dojo.require("dijit.form.ComboBox");dojo.require("dijit.form.CurrencyTextBox");dojo.require("dijit.form.DateTextBox");dojo.require("dijit.form.FilteringSelect");dojo.require("dijit.form.NumberSpinner");dojo.require("dijit.form.NumberTextBox");dojo.require("dijit.form.Slider");dojo.require("dijit.form.Textarea");dojo.require("dijit.form.TextBox");dojo.require("dijit.form.ValidationTextBox");dojo.require("dijit.form._FormWidget");dojo.require("dijit.form._Spinner");dojo.require("dijit.layout.AccordionContainer");dojo.require("dijit.layout.ContentPane");dojo.require("dijit.layout.LayoutContainer");dojo.require("dijit.layout.LinkPane");dojo.require("dijit.layout.SplitContainer");dojo.require("dijit.layout.StackContainer");dojo.require("dijit.layout.TabContainer");dojo.require("dijit.layout._LayoutWidget");}
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright (c) 2004-2008, The Dojo Foundation
|
||||
Copyright (c) 2004-2007, The Dojo Foundation
|
||||
All Rights Reserved.
|
||||
|
||||
Licensed under the Academic Free License version 2.1 or above OR the
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright (c) 2004-2008, The Dojo Foundation
|
||||
Copyright (c) 2004-2007, The Dojo Foundation
|
||||
All Rights Reserved.
|
||||
|
||||
Licensed under the Academic Free License version 2.1 or above OR the
|
||||
@@ -9,4 +9,4 @@
|
||||
*/
|
||||
|
||||
|
||||
if(!dojo._hasResource["dijit.form.CheckBox"]){dojo._hasResource["dijit.form.CheckBox"]=true;dojo.provide("dijit.form.CheckBox");dojo.require("dijit.form.Button");dojo.declare("dijit.form.CheckBox",dijit.form.ToggleButton,{templateString:"<div class=\"dijitReset dijitInline\" waiRole=\"presentation\"\n\t><input\n\t \ttype=\"${type}\" name=\"${name}\"\n\t\tclass=\"dijitReset dijitCheckBoxInput\"\n\t\tdojoAttachPoint=\"focusNode\"\n\t \tdojoAttachEvent=\"onmouseover:_onMouse,onmouseout:_onMouse,onclick:_onClick\"\n/></div>\n",baseClass:"dijitCheckBox",type:"checkbox",value:"on",setValue:function(_1){if(typeof _1=="string"){this.setAttribute("value",_1);_1=true;}this.setAttribute("checked",_1);},_getValueDeprecated:false,getValue:function(){return (this.checked?this.value:false);},reset:function(){this.inherited(arguments);this.setAttribute("value",this._resetValueAttr);},postCreate:function(){this.inherited(arguments);this._resetValueAttr=this.value;}});dojo.declare("dijit.form.RadioButton",dijit.form.CheckBox,{type:"radio",baseClass:"dijitRadio",_groups:{},postCreate:function(){(this._groups[this.name]=this._groups[this.name]||[]).push(this);this.inherited(arguments);},uninitialize:function(){dojo.forEach(this._groups[this.name],function(_2,i,_4){if(_2===this){_4.splice(i,1);return;}},this);},setAttribute:function(_5,_6){this.inherited(arguments);switch(_5){case "checked":if(this.checked){dojo.forEach(this._groups[this.name],function(_7){if(_7!=this&&_7.checked){_7.setAttribute("checked",false);}},this);}}},_clicked:function(e){if(!this.checked){this.setAttribute("checked",true);}}});}
|
||||
if(!dojo._hasResource["dijit.form.CheckBox"]){dojo._hasResource["dijit.form.CheckBox"]=true;dojo.provide("dijit.form.CheckBox");dojo.require("dijit.form.Button");dojo.declare("dijit.form.CheckBox",dijit.form.ToggleButton,{templateString:"<fieldset class=\"dijitReset dijitInline\" waiRole=\"presentation\"\n\t><input\n\t \ttype=\"${type}\" name=\"${name}\"\n\t\tclass=\"dijitReset dijitCheckBoxInput\"\n\t\tdojoAttachPoint=\"inputNode,focusNode\"\n\t \tdojoAttachEvent=\"onmouseover:_onMouse,onmouseout:_onMouse,onclick:_onClick\"\n/></fieldset>\n",baseClass:"dijitCheckBox",type:"checkbox",value:"on",postCreate:function(){dojo.setSelectable(this.inputNode,false);this.setChecked(this.checked);this.inherited(arguments);},setChecked:function(_1){if(dojo.isIE){if(_1){this.inputNode.setAttribute("checked","checked");}else{this.inputNode.removeAttribute("checked");}}else{this.inputNode.checked=_1;}this.inherited(arguments);},setValue:function(_2){if(_2==null){_2="";}this.inputNode.value=_2;dijit.form.CheckBox.superclass.setValue.call(this,_2);}});dojo.declare("dijit.form.RadioButton",dijit.form.CheckBox,{type:"radio",baseClass:"dijitRadio",_groups:{},postCreate:function(){(this._groups[this.name]=this._groups[this.name]||[]).push(this);this.inherited(arguments);},uninitialize:function(){dojo.forEach(this._groups[this.name],function(_3,i,_5){if(_3===this){_5.splice(i,1);return;}},this);},setChecked:function(_6){if(_6){dojo.forEach(this._groups[this.name],function(_7){if(_7!=this&&_7.checked){_7.setChecked(false);}},this);}this.inherited(arguments);},_clicked:function(e){if(!this.checked){this.setChecked(true);}}});}
|
||||
File diff suppressed because one or more lines are too long
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright (c) 2004-2008, The Dojo Foundation
|
||||
Copyright (c) 2004-2007, The Dojo Foundation
|
||||
All Rights Reserved.
|
||||
|
||||
Licensed under the Academic Free License version 2.1 or above OR the
|
||||
@@ -9,4 +9,4 @@
|
||||
*/
|
||||
|
||||
|
||||
if(!dojo._hasResource["dijit.form.CurrencyTextBox"]){dojo._hasResource["dijit.form.CurrencyTextBox"]=true;dojo.provide("dijit.form.CurrencyTextBox");dojo.require("dojo.currency");dojo.require("dijit.form.NumberTextBox");dojo.declare("dijit.form.CurrencyTextBox",dijit.form.NumberTextBox,{currency:"",regExpGen:dojo.currency.regexp,_formatter:dojo.currency.format,parse:dojo.currency.parse,postMixInProperties:function(){if(this.constraints===dijit.form.ValidationTextBox.prototype.constraints){this.constraints={};}this.constraints.currency=this.currency;dijit.form.CurrencyTextBox.superclass.postMixInProperties.apply(this,arguments);}});}
|
||||
if(!dojo._hasResource["dijit.form.CurrencyTextBox"]){dojo._hasResource["dijit.form.CurrencyTextBox"]=true;dojo.provide("dijit.form.CurrencyTextBox");dojo.require("dojo.currency");dojo.require("dijit.form.NumberTextBox");dojo.declare("dijit.form.CurrencyTextBox",dijit.form.NumberTextBox,{currency:"",regExpGen:dojo.currency.regexp,format:dojo.currency.format,parse:dojo.currency.parse,postMixInProperties:function(){if(this.constraints===dijit.form.ValidationTextBox.prototype.constraints){this.constraints={};}this.constraints.currency=this.currency;dijit.form.CurrencyTextBox.superclass.postMixInProperties.apply(this,arguments);}});}
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright (c) 2004-2008, The Dojo Foundation
|
||||
Copyright (c) 2004-2007, The Dojo Foundation
|
||||
All Rights Reserved.
|
||||
|
||||
Licensed under the Academic Free License version 2.1 or above OR the
|
||||
@@ -9,4 +9,4 @@
|
||||
*/
|
||||
|
||||
|
||||
if(!dojo._hasResource["dijit.form.DateTextBox"]){dojo._hasResource["dijit.form.DateTextBox"]=true;dojo.provide("dijit.form.DateTextBox");dojo.require("dijit._Calendar");dojo.require("dijit.form._DateTimeTextBox");dojo.declare("dijit.form.DateTextBox",dijit.form._DateTimeTextBox,{popupClass:"dijit._Calendar",_selector:"date"});}
|
||||
if(!dojo._hasResource["dijit.form.DateTextBox"]){dojo._hasResource["dijit.form.DateTextBox"]=true;dojo.provide("dijit.form.DateTextBox");dojo.require("dijit._Calendar");dojo.require("dijit.form.TimeTextBox");dojo.declare("dijit.form.DateTextBox",dijit.form.TimeTextBox,{_popupClass:"dijit._Calendar",postMixInProperties:function(){this.inherited("postMixInProperties",arguments);this.constraints.selector="date";}});}
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright (c) 2004-2008, The Dojo Foundation
|
||||
Copyright (c) 2004-2007, The Dojo Foundation
|
||||
All Rights Reserved.
|
||||
|
||||
Licensed under the Academic Free License version 2.1 or above OR the
|
||||
@@ -9,4 +9,4 @@
|
||||
*/
|
||||
|
||||
|
||||
if(!dojo._hasResource["dijit.form.FilteringSelect"]){dojo._hasResource["dijit.form.FilteringSelect"]=true;dojo.provide("dijit.form.FilteringSelect");dojo.require("dijit.form.ComboBox");dojo.declare("dijit.form.FilteringSelect",[dijit.form.MappedTextBox,dijit.form.ComboBoxMixin],{labelAttr:"",labelType:"text",_isvalid:true,_lastDisplayedValue:"",isValid:function(){return this._isvalid;},_callbackSetLabel:function(_1,_2,_3){if(_2&&_2.query[this.searchAttr]!=this._lastQuery){return;}if(!_1.length){if(!this._focused){this.valueNode.value="";}dijit.form.TextBox.superclass.setValue.call(this,undefined,!this._focused);this._isvalid=false;this.validate(this._focused);}else{this._setValueFromItem(_1[0],_3);}},_openResultList:function(_4,_5){if(_5.query[this.searchAttr]!=this._lastQuery){return;}this._isvalid=_4.length!=0;this.validate(true);dijit.form.ComboBoxMixin.prototype._openResultList.apply(this,arguments);},getValue:function(){return this.valueNode.value;},_getValueField:function(){return "value";},_setValue:function(_6,_7,_8){this.valueNode.value=_6;dijit.form.FilteringSelect.superclass.setValue.call(this,_6,_8,_7);this._lastDisplayedValue=_7;},setValue:function(_9,_a){var _b=this;var _c=function(_d,_e){if(_d){if(_b.store.isItemLoaded(_d)){_b._callbackSetLabel([_d],undefined,_e);}else{_b.store.loadItem({item:_d,onItem:function(_f,_10){_b._callbackSetLabel(_f,_10,_e);}});}}else{_b._isvalid=false;_b.validate(false);}};this.store.fetchItemByIdentity({identity:_9,onItem:function(_11){_c(_11,_a);}});},_setValueFromItem:function(_12,_13){this._isvalid=true;this._setValue(this.store.getIdentity(_12),this.labelFunc(_12,this.store),_13);},labelFunc:function(_14,_15){return _15.getValue(_14,this.searchAttr);},_doSelect:function(tgt){this.item=tgt.item;this._setValueFromItem(tgt.item,true);},setDisplayedValue:function(_17,_18){if(this.store){var _19=dojo.clone(this.query);this._lastQuery=_19[this.searchAttr]=_17;this.textbox.value=_17;this._lastDisplayedValue=_17;var _1a=this;this.store.fetch({query:_19,queryOptions:{ignoreCase:this.ignoreCase,deep:true},onComplete:function(_1b,_1c){dojo.hitch(_1a,"_callbackSetLabel")(_1b,_1c,_18);},onError:function(_1d){console.error("dijit.form.FilteringSelect: "+_1d);dojo.hitch(_1a,"_setValue")(undefined,_17,false);}});}},_getMenuLabelFromItem:function(_1e){if(this.labelAttr){return {html:this.labelType=="html",label:this.store.getValue(_1e,this.labelAttr)};}else{return dijit.form.ComboBoxMixin.prototype._getMenuLabelFromItem.apply(this,arguments);}},postMixInProperties:function(){dijit.form.ComboBoxMixin.prototype.postMixInProperties.apply(this,arguments);dijit.form.MappedTextBox.prototype.postMixInProperties.apply(this,arguments);},postCreate:function(){dijit.form.ComboBoxMixin.prototype._postCreate.apply(this,arguments);dijit.form.MappedTextBox.prototype.postCreate.apply(this,arguments);},setAttribute:function(_1f,_20){dijit.form.MappedTextBox.prototype.setAttribute.apply(this,arguments);dijit.form.ComboBoxMixin.prototype._setAttribute.apply(this,arguments);},undo:function(){this.setDisplayedValue(this._lastDisplayedValue);},_valueChanged:function(){return this.getDisplayedValue()!=this._lastDisplayedValue;}});}
|
||||
if(!dojo._hasResource["dijit.form.FilteringSelect"]){dojo._hasResource["dijit.form.FilteringSelect"]=true;dojo.provide("dijit.form.FilteringSelect");dojo.require("dijit.form.ComboBox");dojo.declare("dijit.form.FilteringSelect",[dijit.form.MappedTextBox,dijit.form.ComboBoxMixin],{labelAttr:"",labelType:"text",_isvalid:true,isValid:function(){return this._isvalid;},_callbackSetLabel:function(_1,_2,_3){if(_2&&_2.query[this.searchAttr]!=this._lastQuery){return;}if(!_1.length){if(!this._hasFocus){this.valueNode.value="";}dijit.form.TextBox.superclass.setValue.call(this,undefined,!this._hasFocus);this._isvalid=false;this.validate(this._hasFocus);}else{this._setValueFromItem(_1[0],_3);}},_openResultList:function(_4,_5){if(_5.query[this.searchAttr]!=this._lastQuery){return;}this._isvalid=_4.length!=0;this.validate(true);dijit.form.ComboBoxMixin.prototype._openResultList.apply(this,arguments);},getValue:function(){return this.valueNode.value;},_getValueField:function(){return "value";},_setValue:function(_6,_7,_8){this.valueNode.value=_6;dijit.form.FilteringSelect.superclass.setValue.call(this,_6,_8,_7);this._lastDisplayedValue=_7;},setValue:function(_9,_a){var _b=this;var _c=function(_d,_e){if(_d){if(_b.store.isItemLoaded(_d)){_b._callbackSetLabel([_d],undefined,_e);}else{_b.store.loadItem({item:_d,onItem:function(_f,_10){_b._callbackSetLabel(_f,_10,_e);}});}}else{_b._isvalid=false;_b.validate(false);}};this.store.fetchItemByIdentity({identity:_9,onItem:function(_11){_c(_11,_a);}});},_setValueFromItem:function(_12,_13){this._isvalid=true;this._setValue(this.store.getIdentity(_12),this.labelFunc(_12,this.store),_13);},labelFunc:function(_14,_15){return _15.getValue(_14,this.searchAttr);},onkeyup:function(evt){},_doSelect:function(tgt){this.item=tgt.item;this._setValueFromItem(tgt.item,true);},setDisplayedValue:function(_18){if(this.store){var _19={};this._lastQuery=_19[this.searchAttr]=_18;this.textbox.value=_18;this._lastDisplayedValue=_18;this.store.fetch({query:_19,queryOptions:{ignoreCase:this.ignoreCase,deep:true},onComplete:dojo.hitch(this,this._callbackSetLabel)});}},_getMenuLabelFromItem:function(_1a){if(this.labelAttr){return {html:this.labelType=="html",label:this.store.getValue(_1a,this.labelAttr)};}else{return dijit.form.ComboBoxMixin.prototype._getMenuLabelFromItem.apply(this,arguments);}},postMixInProperties:function(){dijit.form.ComboBoxMixin.prototype.postMixInProperties.apply(this,arguments);dijit.form.MappedTextBox.prototype.postMixInProperties.apply(this,arguments);}});}
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright (c) 2004-2008, The Dojo Foundation
|
||||
Copyright (c) 2004-2007, The Dojo Foundation
|
||||
All Rights Reserved.
|
||||
|
||||
Licensed under the Academic Free License version 2.1 or above OR the
|
||||
@@ -9,4 +9,4 @@
|
||||
*/
|
||||
|
||||
|
||||
if(!dojo._hasResource["dijit.form.Form"]){dojo._hasResource["dijit.form.Form"]=true;dojo.provide("dijit.form.Form");dojo.require("dijit._Widget");dojo.require("dijit._Templated");dojo.declare("dijit.form._FormMixin",null,{reset:function(){dojo.forEach(this.getDescendants(),function(_1){if(_1.reset){_1.reset();}});},validate:function(){var _2=false;return dojo.every(dojo.map(this.getDescendants(),function(_3){_3._hasBeenBlurred=true;var _4=!_3.validate||_3.validate();if(!_4&&!_2){dijit.scrollIntoView(_3.containerNode||_3.domNode);_3.focus();_2=true;}return _4;}),"return item;");},setValues:function(_5){var _6={};dojo.forEach(this.getDescendants(),function(_7){if(!_7.name){return;}var _8=_6[_7.name]||(_6[_7.name]=[]);_8.push(_7);});for(var _9 in _6){var _a=_6[_9],_b=dojo.getObject(_9,false,_5);if(!dojo.isArray(_b)){_b=[_b];}if(typeof _a[0].checked=="boolean"){dojo.forEach(_a,function(w,i){w.setValue(dojo.indexOf(_b,w.value)!=-1);});}else{if(_a[0]._multiValue){_a[0].setValue(_b);}else{dojo.forEach(_a,function(w,i){w.setValue(_b[i]);});}}}},getValues:function(){var obj={};dojo.forEach(this.getDescendants(),function(_11){var _12=_11.name;if(!_12){return;}var _13=(_11.getValue&&!_11._getValueDeprecated)?_11.getValue():_11.value;if(typeof _11.checked=="boolean"){if(/Radio/.test(_11.declaredClass)){if(_13!==false){dojo.setObject(_12,_13,obj);}}else{var ary=dojo.getObject(_12,false,obj);if(!ary){ary=[];dojo.setObject(_12,ary,obj);}if(_13!==false){ary.push(_13);}}}else{dojo.setObject(_12,_13,obj);}});return obj;},isValid:function(){return dojo.every(this.getDescendants(),function(_15){return !_15.isValid||_15.isValid();});}});dojo.declare("dijit.form.Form",[dijit._Widget,dijit._Templated,dijit.form._FormMixin],{name:"",action:"",method:"",encType:"","accept-charset":"",accept:"",target:"",templateString:"<form dojoAttachPoint='containerNode' dojoAttachEvent='onreset:_onReset,onsubmit:_onSubmit' name='${name}'></form>",attributeMap:dojo.mixin(dojo.clone(dijit._Widget.prototype.attributeMap),{action:"",method:"",encType:"","accept-charset":"",accept:"",target:""}),execute:function(_16){},onExecute:function(){},setAttribute:function(_17,_18){this.inherited(arguments);switch(_17){case "encType":if(dojo.isIE){this.domNode.encoding=_18;}}},postCreate:function(){if(dojo.isIE&&this.srcNodeRef&&this.srcNodeRef.attributes){var _19=this.srcNodeRef.attributes.getNamedItem("encType");if(_19&&!_19.specified&&(typeof _19.value=="string")){this.setAttribute("encType",_19.value);}}this.inherited(arguments);},onReset:function(e){return true;},_onReset:function(e){var _1c={returnValue:true,preventDefault:function(){this.returnValue=false;},stopPropagation:function(){},currentTarget:e.currentTarget,target:e.target};if(!(this.onReset(_1c)===false)&&_1c.returnValue){this.reset();}dojo.stopEvent(e);return false;},_onSubmit:function(e){var fp=dijit.form.Form.prototype;if(this.execute!=fp.execute||this.onExecute!=fp.onExecute){dojo.deprecated("dijit.form.Form:execute()/onExecute() are deprecated. Use onSubmit() instead.","","2.0");this.onExecute();this.execute(this.getValues());}if(this.onSubmit(e)===false){dojo.stopEvent(e);}},onSubmit:function(e){return this.isValid();},submit:function(){if(!(this.onSubmit()===false)){this.containerNode.submit();}}});}
|
||||
if(!dojo._hasResource["dijit.form.Form"]){dojo._hasResource["dijit.form.Form"]=true;dojo.provide("dijit.form.Form");dojo.require("dijit._Widget");dojo.require("dijit._Templated");dojo.declare("dijit.form._FormMixin",null,{action:"",method:"",enctype:"",name:"","accept-charset":"",accept:"",target:"",attributeMap:dojo.mixin(dojo.clone(dijit._Widget.prototype.attributeMap),{action:"",method:"",enctype:"","accept-charset":"",accept:"",target:""}),execute:function(_1){},onCancel:function(){},onExecute:function(){},templateString:"<form dojoAttachPoint='containerNode' dojoAttachEvent='onsubmit:_onSubmit' name='${name}' enctype='multipart/form-data'></form>",_onSubmit:function(e){dojo.stopEvent(e);this.onExecute();this.execute(this.getValues());},submit:function(){this.containerNode.submit();},setValues:function(_3){var _4={};dojo.forEach(this.getDescendants(),function(_5){if(!_5.name){return;}var _6=_4[_5.name]||(_4[_5.name]=[]);_6.push(_5);});for(var _7 in _4){var _8=_4[_7],_9=dojo.getObject(_7,false,_3);if(!dojo.isArray(_9)){_9=[_9];}if(_8[0].setChecked){dojo.forEach(_8,function(w,i){w.setChecked(dojo.indexOf(_9,w.value)!=-1);});}else{dojo.forEach(_8,function(w,i){w.setValue(_9[i]);});}}},getValues:function(){var _e={};dojo.forEach(this.getDescendants(),function(_f){var _10=_f.getValue?_f.getValue():_f.value;var _11=_f.name;if(!_11){return;}if(_f.setChecked){if(/Radio/.test(_f.declaredClass)){if(_f.checked){dojo.setObject(_11,_10,_e);}}else{var ary=dojo.getObject(_11,false,_e);if(!ary){ary=[];dojo.setObject(_11,ary,_e);}if(_f.checked){ary.push(_10);}}}else{dojo.setObject(_11,_10,_e);}});return _e;},isValid:function(){return dojo.every(this.getDescendants(),function(_13){return !_13.isValid||_13.isValid();});}});dojo.declare("dijit.form.Form",[dijit._Widget,dijit._Templated,dijit.form._FormMixin],null);}
|
||||
File diff suppressed because one or more lines are too long
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright (c) 2004-2008, The Dojo Foundation
|
||||
Copyright (c) 2004-2007, The Dojo Foundation
|
||||
All Rights Reserved.
|
||||
|
||||
Licensed under the Academic Free License version 2.1 or above OR the
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright (c) 2004-2008, The Dojo Foundation
|
||||
Copyright (c) 2004-2007, The Dojo Foundation
|
||||
All Rights Reserved.
|
||||
|
||||
Licensed under the Academic Free License version 2.1 or above OR the
|
||||
@@ -9,4 +9,4 @@
|
||||
*/
|
||||
|
||||
|
||||
if(!dojo._hasResource["dijit.form.NumberTextBox"]){dojo._hasResource["dijit.form.NumberTextBox"]=true;dojo.provide("dijit.form.NumberTextBox");dojo.require("dijit.form.ValidationTextBox");dojo.require("dojo.number");dojo.declare("dijit.form.NumberTextBoxMixin",null,{regExpGen:dojo.number.regexp,editOptions:{pattern:"#.######"},_onFocus:function(){this.setValue(this.getValue(),false);this.inherited(arguments);},_formatter:dojo.number.format,format:function(_1,_2){if(typeof _1=="string"){return _1;}if(isNaN(_1)){return "";}if(this.editOptions&&this._focused){_2=dojo.mixin(dojo.mixin({},this.editOptions),this.constraints);}return this._formatter(_1,_2);},parse:dojo.number.parse,filter:function(_3){if(typeof _3=="string"){return this.inherited("filter",arguments);}return isNaN(_3)?"":_3;},value:NaN});dojo.declare("dijit.form.NumberTextBox",[dijit.form.RangeBoundTextBox,dijit.form.NumberTextBoxMixin],{});}
|
||||
if(!dojo._hasResource["dijit.form.NumberTextBox"]){dojo._hasResource["dijit.form.NumberTextBox"]=true;dojo.provide("dijit.form.NumberTextBox");dojo.require("dijit.form.ValidationTextBox");dojo.require("dojo.number");dojo.declare("dijit.form.NumberTextBoxMixin",null,{regExpGen:dojo.number.regexp,format:function(_1,_2){if(isNaN(_1)){return "";}return dojo.number.format(_1,_2);},parse:dojo.number.parse,filter:function(_3){if(typeof _3=="string"){return this.inherited("filter",arguments);}return (isNaN(_3)?"":_3);},value:NaN});dojo.declare("dijit.form.NumberTextBox",[dijit.form.RangeBoundTextBox,dijit.form.NumberTextBoxMixin],{});}
|
||||
File diff suppressed because one or more lines are too long
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright (c) 2004-2008, The Dojo Foundation
|
||||
Copyright (c) 2004-2007, The Dojo Foundation
|
||||
All Rights Reserved.
|
||||
|
||||
Licensed under the Academic Free License version 2.1 or above OR the
|
||||
@@ -9,4 +9,4 @@
|
||||
*/
|
||||
|
||||
|
||||
if(!dojo._hasResource["dijit.form.TextBox"]){dojo._hasResource["dijit.form.TextBox"]=true;dojo.provide("dijit.form.TextBox");dojo.require("dijit.form._FormWidget");dojo.declare("dijit.form.TextBox",dijit.form._FormValueWidget,{trim:false,uppercase:false,lowercase:false,propercase:false,maxLength:"",templateString:"<input class=\"dijit dijitReset dijitLeft\" dojoAttachPoint='textbox,focusNode' name=\"${name}\"\n\tdojoAttachEvent='onmouseenter:_onMouse,onmouseleave:_onMouse,onfocus:_onMouse,onblur:_onMouse,onkeypress:_onKeyPress'\n\tautocomplete=\"off\" type=\"${type}\"\n\t/>\n",baseClass:"dijitTextBox",attributeMap:dojo.mixin(dojo.clone(dijit.form._FormValueWidget.prototype.attributeMap),{maxLength:"focusNode"}),getDisplayedValue:function(){return this.filter(this.textbox.value);},getValue:function(){return this.parse(this.getDisplayedValue(),this.constraints);},setValue:function(_1,_2,_3){var _4=this.filter(_1);if((((typeof _4==typeof _1)&&(_1!==undefined))||(_1===null))&&(_3==null||_3==undefined)){_3=this.format(_4,this.constraints);}if(_3!=null&&_3!=undefined){this.textbox.value=_3;}dijit.form.TextBox.superclass.setValue.call(this,_4,_2);},setDisplayedValue:function(_5,_6){this.textbox.value=_5;this.setValue(this.getValue(),_6);},format:function(_7,_8){return ((_7==null||_7==undefined)?"":(_7.toString?_7.toString():_7));},parse:function(_9,_a){return _9;},postCreate:function(){this.textbox.setAttribute("value",this.getDisplayedValue());this.inherited(arguments);this._layoutHack();},filter:function(_b){if(_b===null||_b===undefined){return "";}else{if(typeof _b!="string"){return _b;}}if(this.trim){_b=dojo.trim(_b);}if(this.uppercase){_b=_b.toUpperCase();}if(this.lowercase){_b=_b.toLowerCase();}if(this.propercase){_b=_b.replace(/[^\s]+/g,function(_c){return _c.substring(0,1).toUpperCase()+_c.substring(1);});}return _b;},_setBlurValue:function(){this.setValue(this.getValue(),(this.isValid?this.isValid():true));},_onBlur:function(){this._setBlurValue();this.inherited(arguments);}});dijit.selectInputText=function(_d,_e,_f){var _10=dojo.global;var _11=dojo.doc;_d=dojo.byId(_d);if(isNaN(_e)){_e=0;}if(isNaN(_f)){_f=_d.value?_d.value.length:0;}_d.focus();if(_11["selection"]&&dojo.body()["createTextRange"]){if(_d.createTextRange){var _12=_d.createTextRange();with(_12){collapse(true);moveStart("character",_e);moveEnd("character",_f);select();}}}else{if(_10["getSelection"]){var _13=_10.getSelection();if(_d.setSelectionRange){_d.setSelectionRange(_e,_f);}}}};}
|
||||
if(!dojo._hasResource["dijit.form.TextBox"]){dojo._hasResource["dijit.form.TextBox"]=true;dojo.provide("dijit.form.TextBox");dojo.require("dijit.form._FormWidget");dojo.declare("dijit.form.TextBox",dijit.form._FormWidget,{trim:false,uppercase:false,lowercase:false,propercase:false,maxLength:"",templateString:"<input class=\"dojoTextBox\" dojoAttachPoint='textbox,focusNode' name=\"${name}\"\n\tdojoAttachEvent='onmouseenter:_onMouse,onmouseleave:_onMouse,onfocus:_onMouse,onblur:_onMouse,onkeyup,onkeypress:_onKeyPress'\n\tautocomplete=\"off\" type=\"${type}\"\n\t/>\n",baseClass:"dijitTextBox",attributeMap:dojo.mixin(dojo.clone(dijit.form._FormWidget.prototype.attributeMap),{maxLength:"focusNode"}),getDisplayedValue:function(){return this.filter(this.textbox.value);},getValue:function(){return this.parse(this.getDisplayedValue(),this.constraints);},setValue:function(_1,_2,_3){var _4=this.filter(_1);if((typeof _4==typeof _1)&&(_3==null||_3==undefined)){_3=this.format(_4,this.constraints);}if(_3!=null&&_3!=undefined){this.textbox.value=_3;}dijit.form.TextBox.superclass.setValue.call(this,_4,_2);},setDisplayedValue:function(_5){this.textbox.value=_5;this.setValue(this.getValue(),true);},forWaiValuenow:function(){return this.getDisplayedValue();},format:function(_6,_7){return ((_6==null||_6==undefined)?"":(_6.toString?_6.toString():_6));},parse:function(_8,_9){return _8;},postCreate:function(){this.textbox.setAttribute("value",this.getDisplayedValue());this.inherited("postCreate",arguments);if(this.srcNodeRef){dojo.style(this.textbox,"cssText",this.style);this.textbox.className+=" "+this["class"];}this._layoutHack();},_layoutHack:function(){if(dojo.isFF==2&&this.domNode.tagName=="TABLE"){var _a=this.domNode;var _b=_a.style.opacity;_a.style.opacity="0.999";setTimeout(function(){_a.style.opacity=_b;},0);}},filter:function(_c){if(_c==undefined||_c==null){return "";}else{if(typeof _c!="string"){return _c;}}if(this.trim){_c=dojo.trim(_c);}if(this.uppercase){_c=_c.toUpperCase();}if(this.lowercase){_c=_c.toLowerCase();}if(this.propercase){_c=_c.replace(/[^\s]+/g,function(_d){return _d.substring(0,1).toUpperCase()+_d.substring(1);});}return _c;},_onBlur:function(){this.setValue(this.getValue(),(this.isValid?this.isValid():true));},onkeyup:function(){}});}
|
||||
File diff suppressed because one or more lines are too long
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright (c) 2004-2008, The Dojo Foundation
|
||||
Copyright (c) 2004-2007, The Dojo Foundation
|
||||
All Rights Reserved.
|
||||
|
||||
Licensed under the Academic Free License version 2.1 or above OR the
|
||||
@@ -9,4 +9,4 @@
|
||||
*/
|
||||
|
||||
|
||||
if(!dojo._hasResource["dijit.form.TimeTextBox"]){dojo._hasResource["dijit.form.TimeTextBox"]=true;dojo.provide("dijit.form.TimeTextBox");dojo.require("dijit._TimePicker");dojo.require("dijit.form._DateTimeTextBox");dojo.declare("dijit.form.TimeTextBox",dijit.form._DateTimeTextBox,{popupClass:"dijit._TimePicker",_selector:"time"});}
|
||||
if(!dojo._hasResource["dijit.form.TimeTextBox"]){dojo._hasResource["dijit.form.TimeTextBox"]=true;dojo.provide("dijit.form.TimeTextBox");dojo.require("dojo.date");dojo.require("dojo.date.locale");dojo.require("dojo.date.stamp");dojo.require("dijit._TimePicker");dojo.require("dijit.form.ValidationTextBox");dojo.declare("dijit.form.TimeTextBox",dijit.form.RangeBoundTextBox,{regExpGen:dojo.date.locale.regexp,compare:dojo.date.compare,format:function(_1,_2){if(!_1||_1.toString()==this._invalid){return null;}return dojo.date.locale.format(_1,_2);},parse:dojo.date.locale.parse,serialize:dojo.date.stamp.toISOString,value:new Date(""),_invalid:(new Date("")).toString(),_popupClass:"dijit._TimePicker",postMixInProperties:function(){this.inherited("postMixInProperties",arguments);var _3=this.constraints;_3.selector="time";if(typeof _3.min=="string"){_3.min=dojo.date.stamp.fromISOString(_3.min);}if(typeof _3.max=="string"){_3.max=dojo.date.stamp.fromISOString(_3.max);}},_onFocus:function(_4){this._open();},setValue:function(_5,_6){this.inherited("setValue",arguments);if(this._picker){if(!_5||_5.toString()==this._invalid){_5=new Date();}this._picker.setValue(_5);}},_open:function(){if(this.disabled){return;}var _7=this;if(!this._picker){var _8=dojo.getObject(this._popupClass,false);this._picker=new _8({onValueSelected:function(_9){_7.focus();setTimeout(dojo.hitch(_7,"_close"),1);dijit.form.TimeTextBox.superclass.setValue.call(_7,_9,true);},lang:this.lang,constraints:this.constraints,isDisabledDate:function(_a){return _7.constraints&&(dojo.date.compare(_7.constraints.min,_a)>0||dojo.date.compare(_7.constraints.max,_a)<0);}});this._picker.setValue(this.getValue()||new Date());}if(!this._opened){dijit.popup.open({parent:this,popup:this._picker,around:this.domNode,onCancel:dojo.hitch(this,this._close),onClose:function(){_7._opened=false;}});this._opened=true;}dojo.marginBox(this._picker.domNode,{w:this.domNode.offsetWidth});},_close:function(){if(this._opened){dijit.popup.close(this._picker);this._opened=false;}},_onBlur:function(){this._close();this.inherited("_onBlur",arguments);},getDisplayedValue:function(){return this.textbox.value;},setDisplayedValue:function(_b){this.textbox.value=_b;}});}
|
||||
File diff suppressed because one or more lines are too long
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright (c) 2004-2008, The Dojo Foundation
|
||||
Copyright (c) 2004-2007, The Dojo Foundation
|
||||
All Rights Reserved.
|
||||
|
||||
Licensed under the Academic Free License version 2.1 or above OR the
|
||||
@@ -9,4 +9,4 @@
|
||||
*/
|
||||
|
||||
|
||||
if(!dojo._hasResource["dijit.form._FormWidget"]){dojo._hasResource["dijit.form._FormWidget"]=true;dojo.provide("dijit.form._FormWidget");dojo.require("dijit._Widget");dojo.require("dijit._Templated");dojo.declare("dijit.form._FormWidget",[dijit._Widget,dijit._Templated],{baseClass:"",name:"",alt:"",value:"",type:"text",tabIndex:"0",disabled:false,readOnly:false,intermediateChanges:false,attributeMap:dojo.mixin(dojo.clone(dijit._Widget.prototype.attributeMap),{value:"focusNode",disabled:"focusNode",readOnly:"focusNode",id:"focusNode",tabIndex:"focusNode",alt:"focusNode"}),setAttribute:function(_1,_2){this.inherited(arguments);switch(_1){case "disabled":var _3=this[this.attributeMap["tabIndex"]||"domNode"];if(_2){this._hovering=false;this._active=false;_3.removeAttribute("tabIndex");}else{_3.setAttribute("tabIndex",this.tabIndex);}dijit.setWaiState(this[this.attributeMap["disabled"]||"domNode"],"disabled",_2);this._setStateClass();}},setDisabled:function(_4){dojo.deprecated("setDisabled("+_4+") is deprecated. Use setAttribute('disabled',"+_4+") instead.","","2.0");this.setAttribute("disabled",_4);},_onMouse:function(_5){var _6=_5.currentTarget;if(_6&&_6.getAttribute){this.stateModifier=_6.getAttribute("stateModifier")||"";}if(!this.disabled){switch(_5.type){case "mouseenter":case "mouseover":this._hovering=true;this._active=this._mouseDown;break;case "mouseout":case "mouseleave":this._hovering=false;this._active=false;break;case "mousedown":this._active=true;this._mouseDown=true;var _7=this.connect(dojo.body(),"onmouseup",function(){this._active=false;this._mouseDown=false;this._setStateClass();this.disconnect(_7);});if(this.isFocusable()){this.focus();}break;}this._setStateClass();}},isFocusable:function(){return !this.disabled&&!this.readOnly&&this.focusNode&&(dojo.style(this.domNode,"display")!="none");},focus:function(){setTimeout(dojo.hitch(this,dijit.focus,this.focusNode),0);},_setStateClass:function(){if(!("staticClass" in this)){this.staticClass=(this.stateNode||this.domNode).className;}var _8=[this.baseClass];function multiply(_9){_8=_8.concat(dojo.map(_8,function(c){return c+_9;}),"dijit"+_9);};if(this.checked){multiply("Checked");}if(this.state){multiply(this.state);}if(this.selected){multiply("Selected");}if(this.disabled){multiply("Disabled");}else{if(this.readOnly){multiply("ReadOnly");}else{if(this._active){multiply(this.stateModifier+"Active");}else{if(this._focused){multiply("Focused");}if(this._hovering){multiply(this.stateModifier+"Hover");}}}}(this.stateNode||this.domNode).className=this.staticClass+" "+_8.join(" ");},onChange:function(_b){},_onChangeMonitor:"value",_onChangeActive:false,_handleOnChange:function(_c,_d){this._lastValue=_c;if(this._lastValueReported==undefined&&(_d===null||!this._onChangeActive)){this._resetValue=this._lastValueReported=_c;}if((this.intermediateChanges||_d||_d===undefined)&&((_c&&_c.toString)?_c.toString():_c)!==((this._lastValueReported&&this._lastValueReported.toString)?this._lastValueReported.toString():this._lastValueReported)){this._lastValueReported=_c;if(this._onChangeActive){this.onChange(_c);}}},reset:function(){this._hasBeenBlurred=false;if(this.setValue&&!this._getValueDeprecated){this.setValue(this._resetValue,true);}else{if(this._onChangeMonitor){this.setAttribute(this._onChangeMonitor,(this._resetValue!==undefined&&this._resetValue!==null)?this._resetValue:"");}}},create:function(){this.inherited(arguments);this._onChangeActive=true;this._setStateClass();},destroy:function(){if(this._layoutHackHandle){clearTimeout(this._layoutHackHandle);}this.inherited(arguments);},setValue:function(_e){dojo.deprecated("dijit.form._FormWidget:setValue("+_e+") is deprecated. Use setAttribute('value',"+_e+") instead.","","2.0");this.setAttribute("value",_e);},_getValueDeprecated:true,getValue:function(){dojo.deprecated("dijit.form._FormWidget:getValue() is deprecated. Use widget.value instead.","","2.0");return this.value;},_layoutHack:function(){if(dojo.isFF==2){var _f=this.domNode;var old=_f.style.opacity;_f.style.opacity="0.999";this._layoutHackHandle=setTimeout(dojo.hitch(this,function(){this._layoutHackHandle=null;_f.style.opacity=old;}),0);}}});dojo.declare("dijit.form._FormValueWidget",dijit.form._FormWidget,{attributeMap:dojo.mixin(dojo.clone(dijit.form._FormWidget.prototype.attributeMap),{value:""}),postCreate:function(){this.setValue(this.value,null);},setValue:function(_11,_12){this.value=_11;this._handleOnChange(_11,_12);},_getValueDeprecated:false,getValue:function(){return this._lastValue;},undo:function(){this.setValue(this._lastValueReported,false);},_valueChanged:function(){var v=this.getValue();var lv=this._lastValueReported;return ((v!==null&&(v!==undefined)&&v.toString)?v.toString():"")!==((lv!==null&&(lv!==undefined)&&lv.toString)?lv.toString():"");},_onKeyPress:function(e){if(e.keyCode==dojo.keys.ESCAPE&&!e.shiftKey&&!e.ctrlKey&&!e.altKey){if(this._valueChanged()){this.undo();dojo.stopEvent(e);return false;}}return true;}});}
|
||||
if(!dojo._hasResource["dijit.form._FormWidget"]){dojo._hasResource["dijit.form._FormWidget"]=true;dojo.provide("dijit.form._FormWidget");dojo.require("dijit._Widget");dojo.require("dijit._Templated");dojo.declare("dijit.form._FormWidget",[dijit._Widget,dijit._Templated],{baseClass:"",value:"",name:"",id:"",alt:"",type:"text",tabIndex:"0",disabled:false,intermediateChanges:false,attributeMap:dojo.mixin(dojo.clone(dijit._Widget.prototype.attributeMap),{id:"focusNode",tabIndex:"focusNode",alt:"focusNode"}),setDisabled:function(_1){this.domNode.disabled=this.disabled=_1;if(this.focusNode){this.focusNode.disabled=_1;}if(_1){this._hovering=false;this._active=false;}dijit.setWaiState(this.focusNode||this.domNode,"disabled",_1);this._setStateClass();},_onMouse:function(_2){var _3=_2.target;if(_3&&_3.getAttribute){this.stateModifier=_3.getAttribute("stateModifier")||"";}if(!this.disabled){switch(_2.type){case "mouseenter":case "mouseover":this._hovering=true;break;case "mouseout":case "mouseleave":this._hovering=false;break;case "mousedown":this._active=true;var _4=this;var _5=this.connect(dojo.body(),"onmouseup",function(){_4._active=false;_4._setStateClass();_4.disconnect(_5);});break;}this._setStateClass();}},isFocusable:function(){return !this.disabled&&(dojo.style(this.domNode,"display")!="none");},focus:function(){dijit.focus(this.focusNode);},_setStateClass:function(){if(!("staticClass" in this)){this.staticClass=(this.stateNode||this.domNode).className;}var _6=[this.baseClass];function multiply(_7){_6=_6.concat(dojo.map(_6,function(c){return c+_7;}));};if(this.checked){multiply("Checked");}if(this.state){multiply(this.state);}if(this.selected){multiply("Selected");}if(this.disabled){multiply("Disabled");}else{if(this._active){multiply(this.stateModifier+"Active");}else{if(this._focused){multiply("Focused");}if((this.stateModifier||!this._focused)&&this._hovering){multiply(this.stateModifier+"Hover");}}}(this.stateNode||this.domNode).className=this.staticClass+" "+_6.join(" ");},onChange:function(_9){},postCreate:function(){this.setValue(this.value,null);this.setDisabled(this.disabled);this._setStateClass();},setValue:function(_a,_b){this._lastValue=_a;dijit.setWaiState(this.focusNode||this.domNode,"valuenow",this.forWaiValuenow());if(_b===undefined){_b=true;}if(this._lastValueReported==undefined&&_b===null){this._lastValueReported=_a;}if((this.intermediateChanges||_b)&&((_a&&_a.toString)?_a.toString():_a)!==((this._lastValueReported&&this._lastValueReported.toString)?this._lastValueReported.toString():this._lastValueReported)){this._lastValueReported=_a;this.onChange(_a);}},getValue:function(){return this._lastValue;},undo:function(){this.setValue(this._lastValueReported,false);},_onKeyPress:function(e){if(e.keyCode==dojo.keys.ESCAPE&&!e.shiftKey&&!e.ctrlKey&&!e.altKey){var v=this.getValue();var lv=this._lastValueReported;if((typeof lv!="undefined")&&((v!==null&&v.toString)?v.toString():null)!==lv.toString()){this.undo();dojo.stopEvent(e);return false;}}return true;},forWaiValuenow:function(){return this.getValue();}});}
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright (c) 2004-2008, The Dojo Foundation
|
||||
Copyright (c) 2004-2007, The Dojo Foundation
|
||||
All Rights Reserved.
|
||||
|
||||
Licensed under the Academic Free License version 2.1 or above OR the
|
||||
@@ -9,4 +9,4 @@
|
||||
*/
|
||||
|
||||
|
||||
if(!dojo._hasResource["dijit.form._Spinner"]){dojo._hasResource["dijit.form._Spinner"]=true;dojo.provide("dijit.form._Spinner");dojo.require("dijit.form.ValidationTextBox");dojo.declare("dijit.form._Spinner",dijit.form.RangeBoundTextBox,{defaultTimeout:500,timeoutChangeRate:0.9,smallDelta:1,largeDelta:10,templateString:"<div class=\"dijit dijitReset dijitInlineTable dijitLeft\"\n\tid=\"widget_${id}\"\n\tdojoAttachEvent=\"onmouseenter:_onMouse,onmouseleave:_onMouse,onmousedown:_onMouse\" waiRole=\"presentation\"\n\t><div class=\"dijitInputLayoutContainer\"\n\t\t><div class=\"dijitReset dijitSpinnerButtonContainer\"\n\t\t\t> <div class=\"dijitReset dijitLeft dijitButtonNode dijitArrowButton dijitUpArrowButton\"\n\t\t\t\tdojoAttachPoint=\"upArrowNode\"\n\t\t\t\tdojoAttachEvent=\"onmouseenter:_onMouse,onmouseleave:_onMouse\"\n\t\t\t\tstateModifier=\"UpArrow\"\n\t\t\t\t><div class=\"dijitArrowButtonInner\"> </div\n\t\t\t\t><div class=\"dijitArrowButtonChar\">▲</div\n\t\t\t></div\n\t\t\t><div class=\"dijitReset dijitLeft dijitButtonNode dijitArrowButton dijitDownArrowButton\"\n\t\t\t\tdojoAttachPoint=\"downArrowNode\"\n\t\t\t\tdojoAttachEvent=\"onmouseenter:_onMouse,onmouseleave:_onMouse\"\n\t\t\t\tstateModifier=\"DownArrow\"\n\t\t\t\t><div class=\"dijitArrowButtonInner\"> </div\n\t\t\t\t><div class=\"dijitArrowButtonChar\">▼</div\n\t\t\t></div\n\t\t></div\n\t\t><div class=\"dijitReset dijitValidationIcon\"><br></div\n\t\t><div class=\"dijitReset dijitValidationIconText\">Χ</div\n\t\t><div class=\"dijitReset dijitInputField\"\n\t\t\t><input class='dijitReset' dojoAttachPoint=\"textbox,focusNode\" type=\"${type}\" dojoAttachEvent=\"onfocus:_update,onkeyup:_update,onkeypress:_onKeyPress\"\n\t\t\t\twaiRole=\"spinbutton\" autocomplete=\"off\" name=\"${name}\"\n\t\t/></div\n\t></div\n></div>\n",baseClass:"dijitSpinner",adjust:function(_1,_2){return _1;},_arrowState:function(_3,_4){this._active=_4;this.stateModifier=_3.getAttribute("stateModifier")||"";this._setStateClass();},_arrowPressed:function(_5,_6){if(this.disabled||this.readOnly){return;}this._arrowState(_5,true);this.setValue(this.adjust(this.getValue(),_6*this.smallDelta),false);dijit.selectInputText(this.textbox,this.textbox.value.length);},_arrowReleased:function(_7){this._wheelTimer=null;if(this.disabled||this.readOnly){return;}this._arrowState(_7,false);},_typematicCallback:function(_8,_9,_a){if(_9==this.textbox){_9=(_a.keyCode==dojo.keys.UP_ARROW)?this.upArrowNode:this.downArrowNode;}if(_8==-1){this._arrowReleased(_9);}else{this._arrowPressed(_9,(_9==this.upArrowNode)?1:-1);}},_wheelTimer:null,_mouseWheeled:function(_b){dojo.stopEvent(_b);var _c=0;if(typeof _b.wheelDelta=="number"){_c=_b.wheelDelta;}else{if(typeof _b.detail=="number"){_c=-_b.detail;}}var _d,_e;if(_c>0){_d=this.upArrowNode;_e=+1;}else{if(_c<0){_d=this.downArrowNode;_e=-1;}else{return;}}this._arrowPressed(_d,_e);if(this._wheelTimer!=null){clearTimeout(this._wheelTimer);}var _f=this;this._wheelTimer=setTimeout(function(){_f._arrowReleased(_d);},50);},postCreate:function(){this.inherited("postCreate",arguments);this.connect(this.textbox,dojo.isIE?"onmousewheel":"DOMMouseScroll","_mouseWheeled");this._connects.push(dijit.typematic.addListener(this.upArrowNode,this.textbox,{keyCode:dojo.keys.UP_ARROW,ctrlKey:false,altKey:false,shiftKey:false},this,"_typematicCallback",this.timeoutChangeRate,this.defaultTimeout));this._connects.push(dijit.typematic.addListener(this.downArrowNode,this.textbox,{keyCode:dojo.keys.DOWN_ARROW,ctrlKey:false,altKey:false,shiftKey:false},this,"_typematicCallback",this.timeoutChangeRate,this.defaultTimeout));if(dojo.isIE){var _10=this;this.connect(this.domNode,"onresize",function(){setTimeout(dojo.hitch(_10,function(){this.upArrowNode.style.behavior="";this.downArrowNode.style.behavior="";this._setStateClass();}),0);});}}});}
|
||||
if(!dojo._hasResource["dijit.form._Spinner"]){dojo._hasResource["dijit.form._Spinner"]=true;dojo.provide("dijit.form._Spinner");dojo.require("dijit.form.ValidationTextBox");dojo.declare("dijit.form._Spinner",dijit.form.RangeBoundTextBox,{defaultTimeout:500,timeoutChangeRate:0.9,smallDelta:1,largeDelta:10,templateString:"<table class=\"dijit dijitReset dijitInlineTable dijitLeft\" cellspacing=\"0\" cellpadding=\"0\"\n\tid=\"widget_${id}\" name=\"${name}\"\n\tdojoAttachEvent=\"onmouseenter:_onMouse,onmouseleave:_onMouse,onkeypress:_onKeyPress\"\n\twaiRole=\"presentation\"\n\t><tr class=\"dijitReset\"\n\t\t><td rowspan=\"2\" class=\"dijitReset dijitStretch dijitInputField\" width=\"100%\"\n\t\t\t><input dojoAttachPoint=\"textbox,focusNode\" type=\"${type}\" dojoAttachEvent=\"onfocus,onkeyup\"\n\t\t\t\twaiRole=\"spinbutton\" autocomplete=\"off\" name=\"${name}\"\n\t\t></td\n\t\t><td rowspan=\"2\" class=\"dijitReset dijitValidationIconField\" width=\"0%\" \n\t\t\t><div dojoAttachPoint='iconNode' class='dijitValidationIcon'></div\n\t\t></td\n\t\t><td class=\"dijitReset dijitRight dijitButtonNode dijitUpArrowButton\" width=\"0%\"\n\t\t\t\tdojoAttachPoint=\"upArrowNode\"\n\t\t\t\tdojoAttachEvent=\"onmousedown:_handleUpArrowEvent,onmouseup:_handleUpArrowEvent,onmouseover:_handleUpArrowEvent,onmouseout:_handleUpArrowEvent\"\n\t\t\t\tstateModifier=\"UpArrow\"\n\t\t\t><div class=\"dijitA11yUpArrow\">▲</div\n\t\t></td\n\t></tr\n\t><tr class=\"dijitReset\"\n\t\t><td class=\"dijitReset dijitRight dijitButtonNode dijitDownArrowButton\" width=\"0%\"\n\t\t\t\tdojoAttachPoint=\"downArrowNode\"\n\t\t\t\tdojoAttachEvent=\"onmousedown:_handleDownArrowEvent,onmouseup:_handleDownArrowEvent,onmouseover:_handleDownArrowEvent,onmouseout:_handleDownArrowEvent\"\n\t\t\t\tstateModifier=\"DownArrow\"\n\t\t\t><div class=\"dijitA11yDownArrow\">▼</div\n\t\t></td\n\t></tr\n></table>\n\n",baseClass:"dijitSpinner",adjust:function(_1,_2){return _1;},_handleUpArrowEvent:function(e){this._onMouse(e,this.upArrowNode);},_handleDownArrowEvent:function(e){this._onMouse(e,this.downArrowNode);},_arrowPressed:function(_5,_6){if(this.disabled){return;}dojo.addClass(_5,"dijitSpinnerButtonActive");this.setValue(this.adjust(this.getValue(),_6*this.smallDelta),false);},_arrowReleased:function(_7){if(this.disabled){return;}this._wheelTimer=null;dijit.focus(this.textbox);dojo.removeClass(_7,"dijitSpinnerButtonActive");},_typematicCallback:function(_8,_9,_a){if(_9==this.textbox){_9=(_a.keyCode==dojo.keys.UP_ARROW)?this.upArrowNode:this.downArrowNode;}if(_8==-1){this._arrowReleased(_9);}else{this._arrowPressed(_9,(_9==this.upArrowNode)?1:-1);}},_wheelTimer:null,_mouseWheeled:function(_b){dojo.stopEvent(_b);var _c=0;if(typeof _b.wheelDelta=="number"){_c=_b.wheelDelta;}else{if(typeof _b.detail=="number"){_c=-_b.detail;}}if(_c>0){var _d=this.upArrowNode;var _e=+1;}else{if(_c<0){var _d=this.downArrowNode;var _e=-1;}else{return;}}this._arrowPressed(_d,_e);if(this._wheelTimer!=null){clearTimeout(this._wheelTimer);}var _f=this;this._wheelTimer=setTimeout(function(){_f._arrowReleased(_d);},50);},postCreate:function(){this.inherited("postCreate",arguments);this.connect(this.textbox,dojo.isIE?"onmousewheel":"DOMMouseScroll","_mouseWheeled");dijit.typematic.addListener(this.upArrowNode,this.textbox,{keyCode:dojo.keys.UP_ARROW,ctrlKey:false,altKey:false,shiftKey:false},this,"_typematicCallback",this.timeoutChangeRate,this.defaultTimeout);dijit.typematic.addListener(this.downArrowNode,this.textbox,{keyCode:dojo.keys.DOWN_ARROW,ctrlKey:false,altKey:false,shiftKey:false},this,"_typematicCallback",this.timeoutChangeRate,this.defaultTimeout);}});}
|
||||
@@ -1 +1 @@
|
||||
({"previousMessage":"Previous choices","nextMessage":"More choices"})
|
||||
({"previousMessage": "Previous choices", "nextMessage": "More choices"})
|
||||
@@ -1 +1 @@
|
||||
({"iframeTitle1":"edit area","iframeTitle2":"edit area frame"})
|
||||
({"iframeTitle1": "edit area", "iframeTitle2": "edit area frame"})
|
||||
@@ -1 +1 @@
|
||||
({"previousMessage":"Předchozí volby","nextMessage":"Další volby"})
|
||||
({"previousMessage": "Předchozí volby", "nextMessage": "Další volby"})
|
||||
@@ -1 +1 @@
|
||||
({"iframeTitle1":"oblast úprav","iframeTitle2":"rámec oblasti úprav"})
|
||||
({"iframeTitle1": "oblast úprav", "iframeTitle2": "rámec oblasti úprav"})
|
||||
@@ -1 +1 @@
|
||||
({"rangeMessage":"Tato hodnota je mimo rozsah.","invalidMessage":"Zadaná hodnota není platná.","missingMessage":"Tato hodnota je vyžadována."})
|
||||
({"rangeMessage": "* Tato hodnota je mimo rozsah.", "invalidMessage": "* Zadaná hodnota není platná.", "missingMessage": "* Tato hodnota je vyžadována."})
|
||||
@@ -1 +1 @@
|
||||
({"previousMessage":"Vorherige Auswahl","nextMessage":"Weitere Auswahlmöglichkeiten"})
|
||||
({"previousMessage": "Vorherige Auswahl", "nextMessage": "Weitere Auswahlmöglichkeiten"})
|
||||
@@ -1 +1 @@
|
||||
({"iframeTitle1":"Editierbereich","iframeTitle2":"Rahmen für Editierbereich"})
|
||||
({"iframeTitle1": "Editierbereich", "iframeTitle2": "Rahmen für Editierbereich"})
|
||||
@@ -1 +1 @@
|
||||
({"rangeMessage":"Dieser Wert ist außerhalb des gültigen Bereichs. ","invalidMessage":"Der eingegebene Wert ist ungültig. ","missingMessage":"Dieser Wert ist erforderlich."})
|
||||
({"rangeMessage": "* Dieser Wert ist außerhalb des gültigen Bereichs. ", "invalidMessage": "* Der eingegebene Wert ist ungültig. ", "missingMessage": "* Dieser Wert ist erforderlich."})
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user