Changeset 7394 for branches/0.4/tests/widget/Editor/test_Editor2.html
- Timestamp:
- 02/21/07 14:54:01 (21 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
branches/0.4/tests/widget/Editor/test_Editor2.html
r7047 r7394 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 … … 60 63 </button> 61 64 <script> 62 dojo.event.connect(dojo.byId("onDemandButton"), "onclick", function(){ 63 dojo.widget.createWidget("Editor2", 64 { shareToolbar: false, 65 toolbarAlwaysVisible: true, 66 focusOnLoad: false 67 }, dojo.byId("onDemandEditor")); 65 dojo.addOnLoad(function(){ 66 dojo.event.connect(dojo.byId("onDemandButton"), "onclick", function(){ 67 dojo.widget.createWidget("Editor2", 68 { shareToolbar: false, 69 toolbarAlwaysVisible: true, 70 focusOnLoad: false 71 }, dojo.byId("onDemandEditor")); 72 }); 68 73 }); 69 74 </script>