dojox.form.manager unregisterWidgetDescendants
in unregsiterWidgetDescendants, I found that it never register the dijit that I expecpt, and finally I take a look on the source code and I do believe that it should be 'unregisterWidget' rather than 'unregisterNode'
unregisterWidgetDescendants: function(widget){
...
// unregister widgets by names
dojo.forEach(
dojo.map(
widget.getDescendants(),
function(w){
return w instanceof dijit.form._FormWidget && w.get("name") || null;
}
),
function(name){
if(name){
//this.unregisterNode(name);
this.unregisterWidget(name);
}
},this
);
...
},
Change History (3)
Owner: |
changed from dante to Eugene Lazutkin
|
Resolution: |
→ fixed
|
Status: |
new →
closed
|
In [28523]: