尝试动态更改 DND 容器的高度,但似乎不起作用。
assigned_list
保存所有插入,我尝试使用以下方法捕获节点失败,插入节点时萤火虫永远不会通过此方法
// 'insertNodes' doesn't work
// same with onDndDrop
// firebug doesn't respond to this dojo.connect, when insert a node
dojo.connect(assigned_list, "onDndDrop", nodeChanges);
这是nodeChanges
功能
function nodeChanges(){
dojo.byId("assigned_nodes_container").style.height = dojo.byId("assigned_nodes_container").clientHeight+'px';
}
我们在 Dojo 1.6