mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-16 19:08:27 +01:00
Reset dirty after load to avoid unwanted close prompt
This commit is contained in:
parent
61f22d67f3
commit
4fe62a0322
@ -686,6 +686,11 @@ export class etemplate2
|
||||
{
|
||||
Promise.all(deferred).then(() =>
|
||||
{
|
||||
// Clear dirty now that it's all loaded
|
||||
this.widgetContainer.iterateOver((_widget) =>
|
||||
{
|
||||
_widget.resetDirty();
|
||||
}, this, et2_IInput);
|
||||
egw.debug("log", "Finished loading %s, triggering load event", _name);
|
||||
|
||||
if(typeof window.framework != 'undefined' && typeof window.framework.et2_loadingFinished != 'undefined')
|
||||
|
Loading…
Reference in New Issue
Block a user