mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-19 12:55:08 +02:00
Fix selectbox resetDirty()
This commit is contained in:
@@ -346,6 +346,9 @@ var et2_selectbox = /** @class */ (function (_super) {
|
|||||||
et2_selectbox.prototype.doLoadingFinished = function () {
|
et2_selectbox.prototype.doLoadingFinished = function () {
|
||||||
_super.prototype.doLoadingFinished.call(this);
|
_super.prototype.doLoadingFinished.call(this);
|
||||||
this.set_tags(this.options.tags, this.options.width);
|
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;
|
return true;
|
||||||
};
|
};
|
||||||
et2_selectbox.prototype.loadFromXML = function (_node) {
|
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);
|
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;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user