Change body of a popup element dynamicly

Hi webix team, in the snipped http://webix.com/snippet/a313ca1c I want to change the body of a popup dynamicly with webix.copy and reconstruct, but when I click on the login button a error occurs at the line 118. When you have a better way to change the body of the popup I would be appreciate. A lot of thanks Rainer

Hi,

define was made to change the properties, but the same approach won’t work if you need to rebuild a layout.

Please check the docs about the layout modification.

And the snippet: http://webix.com/snippet/bd4a9079

Hi Listopad, now it works awesome - thanks