forked from extern/egroupware
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.
|
||||
*/
|
||||
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.
|
||||
|
@ -516,7 +516,8 @@ class et2_tabbox extends et2_valueWidget implements et2_IInput,et2_IResizeable,e
|
||||
*/
|
||||
isDirty()
|
||||
{
|
||||
return this.selected_index != this.value;
|
||||
// We consider tab changes are not real changes
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user