mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-20 12:58:46 +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
|
* 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 () {
|
et2_toolbar.prototype.isDirty = function () {
|
||||||
return this.value != null;
|
return false;
|
||||||
};
|
|
||||||
/**
|
|
||||||
* Causes the dirty flag to be reseted.
|
|
||||||
*/
|
|
||||||
et2_toolbar.prototype.resetDirty = function () {
|
|
||||||
this.value = null;
|
|
||||||
};
|
};
|
||||||
/**
|
/**
|
||||||
* Checks the data to see if it is valid, as far as the client side can tell.
|
* 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
|
* 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()
|
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.
|
* 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