Changeset 12123
- Timestamp:
- 01/21/08 22:03:30 (5 months ago)
- Location:
- dijit/trunk
- Files:
-
- 2 modified
-
tests/_testCommon.js (modified) (4 diffs)
-
_editor/RichText.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
dijit/trunk/tests/_testCommon.js
r12101 r12123 29 29 case "locale": 30 30 // locale string | null 31 d jConfig.locale = locale = value;31 dojo.config.locale = locale = value; 32 32 break; 33 33 case "dir": … … 46 46 47 47 // always include the default theme files: 48 if(!theme){ theme = d jConfig.defaultTestTheme || 'tundra'; }48 if(!theme){ theme = dojo.config.defaultTestTheme || 'tundra'; } 49 49 var themeCss = d.moduleUrl("dijit.themes",theme+"/"+theme+".css"); 50 50 var themeCssRtl = d.moduleUrl("dijit.themes",theme+"/"+theme+"_rtl.css"); … … 52 52 document.write('<link rel="stylesheet" type="text/css" href="'+themeCssRtl+'"/>'); 53 53 54 if(d jConfig.parseOnLoad){55 d jConfig.parseOnLoad = false;56 d jConfig._deferParsing = true;54 if(dojo.config.parseOnLoad){ 55 dojo.config.parseOnLoad = false; 56 dojo.config._deferParsing = true; 57 57 } 58 58 … … 72 72 d.connect(document,"onkeypress","_testNodeShow"); 73 73 74 if(d jConfig._deferParsing){ d.parser.parse(d.body()); }74 if(dojo.config._deferParsing){ d.parser.parse(d.body()); } 75 75 76 76 }); -
dijit/trunk/_editor/RichText.js
r12010 r12123 10 10 // document.write will only work if RichText.js is included in the dojo.js 11 11 // file. If it is included in dojo.js and you want to allow rich text saving 12 // for back/forward actions, then set d jConfig.allowXdRichTextSave = true.13 if(!d jConfig["useXDomain"] || djConfig["allowXdRichTextSave"]){12 // for back/forward actions, then set dojo.config.allowXdRichTextSave = true. 13 if(!dojo.config["useXDomain"] || dojo.config["allowXdRichTextSave"]){ 14 14 if(dojo._postLoad){ 15 15 (function(){ … … 303 303 this.domNode.appendChild(this.editingArea); 304 304 305 if(this.name != "" && (!d jConfig["useXDomain"] || djConfig["allowXdRichTextSave"])){305 if(this.name != "" && (!dojo.config["useXDomain"] || dojo.config["allowXdRichTextSave"])){ 306 306 var saveTextarea = dojo.byId(dijit._scopeName + "._editor.RichText.savedContent"); 307 307 if(saveTextarea.value != ""){