mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:20 +01:00
Etemplate: Password suggest now works if started disabled then enabled via JS
This commit is contained in:
parent
839a0e54a6
commit
09ac3d918b
@ -152,6 +152,10 @@ var et2_password = /** @class */ (function (_super) {
|
||||
statustext: this.egw().lang("Suggest password")
|
||||
};
|
||||
this.suggest_button = et2_core_widget_1.et2_createWidget("button", attrs, this);
|
||||
if (this.parentNode) {
|
||||
// Turned on after initial load, need to run loadingFinished()
|
||||
this.suggest_button.loadingFinished();
|
||||
}
|
||||
}
|
||||
if (length) {
|
||||
jQuery('.generate_password', this.wrapper).show();
|
||||
|
@ -199,6 +199,11 @@ export class et2_password extends et2_textbox
|
||||
statustext: this.egw().lang("Suggest password")
|
||||
};
|
||||
this.suggest_button = <et2_button> et2_createWidget("button", attrs, this);
|
||||
if(this.parentNode)
|
||||
{
|
||||
// Turned on after initial load, need to run loadingFinished()
|
||||
this.suggest_button.loadingFinished();
|
||||
}
|
||||
}
|
||||
if(length)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user