Ticket #2318 (closed defect: fixed)
dnd error on contentpane loading (0.4.1 regression)
| Reported by: | frax.free@… | Owned by: | alex |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | DnD | Version: | 0.4.1 |
| Severity: | major | Keywords: | dnd, contentpane |
| Cc: |
Description
Hi, In the main page of a html document, I defined a 'standard' contentpane : <div dojoType="ContentPane?" id="center_subPanel" executeScripts="true" cacheContent="false" refreshOnShow="true" sizeMin="60" sizeShare="60" style="overflow:auto;padding-bottom:5px;"
In my js library, its content is loaded with the setUrl function :
var center_subPanel = dojo.widget.byId('center_subPanel');
center_subPanel.domNode.style.display = 'block';
dojo.event.connect(center_subPanel , 'onLoad' , 'end_onLoad');
center_subPanel.setUrl(url);
To try the Dnd API implementation, I used the provided dojo's html file 'tests/dnd/test_simple.html.'
Everything works fine with the 0.4.0 release. But with the 0.4.1 release, an error appears when loading the pane content : 'this.dropTargets is null', HtmlDragManager?.js, line 135.