mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:50 +01:00
Fix selectbox resetDirty()
This commit is contained in:
parent
34dbf8531b
commit
175c1fe369
@ -346,6 +346,9 @@ var et2_selectbox = /** @class */ (function (_super) {
|
||||
et2_selectbox.prototype.doLoadingFinished = function () {
|
||||
_super.prototype.doLoadingFinished.call(this);
|
||||
this.set_tags(this.options.tags, this.options.width);
|
||||
// Reset dirty again here. super.doLoadingFinished() does it too, but set_tags() & others
|
||||
// change things. Moving set_tags() before super.doLoadingFinished() breaks tag widgets
|
||||
this.resetDirty();
|
||||
return true;
|
||||
};
|
||||
et2_selectbox.prototype.loadFromXML = function (_node) {
|
||||
|
@ -488,6 +488,10 @@ export class et2_selectbox extends et2_inputWidget
|
||||
|
||||
this.set_tags(this.options.tags, this.options.width);
|
||||
|
||||
// Reset dirty again here. super.doLoadingFinished() does it too, but set_tags() & others
|
||||
// change things. Moving set_tags() before super.doLoadingFinished() breaks tag widgets
|
||||
this.resetDirty();
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user