mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 12:39:25 +01:00
Close confirm improvements & fixes
- Toolbars are now always not dirty
This commit is contained in:
parent
10846271f1
commit
b057f95a5a
@ -562,16 +562,10 @@ var et2_toolbar = /** @class */ (function (_super) {
|
||||
};
|
||||
/**
|
||||
* Is dirty returns true if the value of the widget has changed since it
|
||||
* was loaded.
|
||||
* was loaded. We don't consider toolbars as dirtyable
|
||||
*/
|
||||
et2_toolbar.prototype.isDirty = function () {
|
||||
return this.value != null;
|
||||
};
|
||||
/**
|
||||
* Causes the dirty flag to be reseted.
|
||||
*/
|
||||
et2_toolbar.prototype.resetDirty = function () {
|
||||
this.value = null;
|
||||
return false;
|
||||
};
|
||||
/**
|
||||
* Checks the data to see if it is valid, as far as the client side can tell.
|
||||
|
@ -691,20 +691,13 @@ class et2_toolbar extends et2_DOMWidget implements et2_IInput
|
||||
|
||||
/**
|
||||
* Is dirty returns true if the value of the widget has changed since it
|
||||
* was loaded.
|
||||
* was loaded. We don't consider toolbars as dirtyable
|
||||
*/
|
||||
isDirty()
|
||||
{
|
||||
return this.value != null;
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Causes the dirty flag to be reseted.
|
||||
*/
|
||||
resetDirty()
|
||||
{
|
||||
this.value = null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks the data to see if it is valid, as far as the client side can tell.
|
||||
|
Loading…
Reference in New Issue
Block a user