mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-13 01:18:42 +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 () {
|
et2_toolbar.prototype.isDirty = function () {
|
||||||
return false;
|
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.
|
||||||
* Return true if it's not possible to tell on the client side, because the server
|
* 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;
|
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