diff options
author | Jens Klaer <kj.landwehr.software@gmail.com> | 2015-10-27 16:58:50 +0100 |
---|---|---|
committer | Jens Klaer <kj.landwehr.software@gmail.com> | 2015-10-27 16:58:50 +0100 |
commit | 67f8a9c87ca327619d3469aaae4bc1b0da441628 (patch) | |
tree | 6edc081ef2b074e2b50f790661917780521545c5 /tests/unit/Web/UI/TControlAdapterTest.php | |
parent | fd76b5617e3c136be2f8b5374e7629d2bea77070 (diff) |
calling replace on clientside will now either replace the whole element (like before) or optionally just replace its content
this is needed for TJuiDialog (maybe for other jqueryui controls too)
because if the element (in case of TJuiDialog the div panel) will be
replaced, jqueryui will clean up by calling destroy on dom element
removal causing the replaceWith to fail because the parent node is
already removed when replacing the original element with the new
content. to avoid this, only the inner content will be replaced which is
now controlled by an optional parameter for the clientscript replace
method.
Diffstat (limited to 'tests/unit/Web/UI/TControlAdapterTest.php')
0 files changed, 0 insertions, 0 deletions