mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-25 16:19:00 +01:00
Etemplate: Replace resetDirty(), it's needed for IInput interface
This commit is contained in:
parent
7278b30ff0
commit
e80c118aa8
@ -567,6 +567,12 @@ var et2_toolbar = /** @class */ (function (_super) {
|
||||
et2_toolbar.prototype.isDirty = function () {
|
||||
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.
|
||||
* Return true if it's not possible to tell on the client side, because the server
|
||||
|
@ -698,6 +698,13 @@ class et2_toolbar extends et2_DOMWidget implements et2_IInput
|
||||
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