mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-20 09:58:04 +02:00
Etemplate: Changing the tab doesn't count as making any data dirty
This commit is contained in:
parent
f0e074093c
commit
03e08be0e6
@ -406,7 +406,8 @@ var et2_tabbox = /** @class */ (function (_super) {
|
|||||||
* was loaded.
|
* was loaded.
|
||||||
*/
|
*/
|
||||||
et2_tabbox.prototype.isDirty = function () {
|
et2_tabbox.prototype.isDirty = function () {
|
||||||
return this.selected_index != this.value;
|
// We consider tab changes are not real changes
|
||||||
|
return false;
|
||||||
};
|
};
|
||||||
/**
|
/**
|
||||||
* Causes the dirty flag to be reseted.
|
* Causes the dirty flag to be reseted.
|
||||||
|
@ -516,7 +516,8 @@ class et2_tabbox extends et2_valueWidget implements et2_IInput,et2_IResizeable,e
|
|||||||
*/
|
*/
|
||||||
isDirty()
|
isDirty()
|
||||||
{
|
{
|
||||||
return this.selected_index != this.value;
|
// We consider tab changes are not real changes
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user