Changeset 7395 for trunk/tests/widget/Editor/test_Editor2.html
- Timestamp:
- 02/21/07 14:58:53 (23 months ago)
- Files:
-
- 1 modified
-
trunk/tests/widget/Editor/test_Editor2.html (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/widget/Editor/test_Editor2.html
r6952 r7395 5 5 <title>Dojo Editor2 Test</title> 6 6 <script type="text/javascript"> 7 var djConfig = { isDebug: true }; 7 var djConfig = { 8 isDebug: true, 9 dojoRichTextFrameUrl: "../../../src/widget/templates/richtextframe.html" //for xdomain 10 }; 8 11 </script> 9 12 … … 62 65 </button> 63 66 <script> 64 dojo.event.connect(dojo.byId("onDemandButton"), "onclick", function(){ 65 dojo.widget.createWidget("Editor2", 66 { shareToolbar: false, 67 toolbarAlwaysVisible: true, 68 focusOnLoad: false 69 }, dojo.byId("onDemandEditor")); 67 dojo.addOnLoad(function(){ 68 dojo.event.connect(dojo.byId("onDemandButton"), "onclick", function(){ 69 dojo.widget.createWidget("Editor2", 70 { shareToolbar: false, 71 toolbarAlwaysVisible: true, 72 focusOnLoad: false 73 }, dojo.byId("onDemandEditor")); 74 }); 70 75 }); 71 76 </script>