Make new dependencies to be rendered in the correct position of the DOM.
FEA: ItEr75S08MigrationZK5
This commit is contained in:
parent
949afcbeda
commit
aaad249a72
1 changed files with 10 additions and 1 deletions
|
|
@ -1,3 +1,12 @@
|
|||
zk.$package("limitingresources");
|
||||
|
||||
limitingresources.LimitingDependencyList = zk.$extends(zk.Widget,{})
|
||||
limitingresources.LimitingDependencyList = zk.$extends(zk.Widget,{
|
||||
appendChild: function(ao,al) {
|
||||
this.$supers('appendChild', arguments);
|
||||
//by default, appenChild appends the child (the .dependency object) as
|
||||
//a direct child of the LimitingDependencylist object, but we want to
|
||||
//to be added inside div#listlimitingdependencies, so we move the
|
||||
//dependency once it's created
|
||||
jq('#'+ao.uuid).appendTo('#listlimitingdependencies');
|
||||
}
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue