mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:20 +01:00
Set nextmatch as parent so newly cloned webcomponents in nm row have it before we start setting properties.
Fixes egw.image() not having correct app.
This commit is contained in:
parent
8175a592d5
commit
49d40c18e8
@ -274,6 +274,10 @@ export class et2_nextmatch_rowProvider
|
||||
// Use the clone, not the original
|
||||
let widget = entry.nodeFuncs[0](row);
|
||||
|
||||
// Need to set the parent to the nm or egw() (and probably others) will not be as expected, using window instead
|
||||
// of app. arrayMgrs are fine without this though
|
||||
widget._parent = this._context;
|
||||
|
||||
// Deal with the deferred properties like booleans with string values - we can't reflect them, and we don't want to lose them
|
||||
// No need to transform here, that happens later
|
||||
Object.assign(data, entry.widget.deferredProperties);
|
||||
|
Loading…
Reference in New Issue
Block a user