Opened 14 years ago

Last modified 12 years ago

#3495 closed defect

Editor Fails to Render in Content Pane after Form Bind — at Initial Version

Reported by: guest Owned by: liucougar
Priority: high Milestone: future
Component: Editor Version: 0.4.2
Keywords: Editor, fails, bug, render Cc:
Blocked By: Blocking:

Description

The code to create the contentpane is:

<div dojoType="LayoutContainer?" layoutChildPriority='top-bottom' sizeMin="80" sizeShare="80" style="width: 100%; height: 100%;">

<div id="contentPane" dojoType="ContentPane?" href="schedule/index.php" executeScripts="true" refreshOnShow="true" scriptSeparation="false" style="padding: 5px;"></div>

</div>

The code to call form containing editor into contentPane is: function bindForm() {

x = new dojo.io.FormBind?({

formNode: document.forms.theForm, load: function(type, data, e) {

target = dojo.widget.getWidgetById("contentPane"); target.setContent(data); }

});

}

Code to create Editor: <script type="text/javascript">

var djConfig = {

isDebug: true, parseWidgets: true

};

</script> <textarea class="dojo-Editor" rows="50" cols="100" name="bar"></textarea>

Note that other widgets on this page render fine. It is just Editor OR Editor2 that fail.

Change History (0)

Note: See TracTickets for help on using tickets.