mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-24 23:58:54 +01:00
Etemplate: Fix password widget did not disable suggest dynamically
This commit is contained in:
parent
8a14301710
commit
80b72bfb3c
@ -154,10 +154,10 @@ var et2_password = /** @class */ (function (_super) {
|
||||
this.suggest_button = et2_core_widget_1.et2_createWidget("button", attrs, this);
|
||||
}
|
||||
if (length) {
|
||||
jQuery('.suggest', this.wrapper).show();
|
||||
jQuery('.generate_password', this.wrapper).show();
|
||||
}
|
||||
else {
|
||||
jQuery('.suggest', this.wrapper).hide();
|
||||
jQuery('.generate_password', this.wrapper).hide();
|
||||
}
|
||||
};
|
||||
/**
|
||||
|
@ -202,11 +202,11 @@ export class et2_password extends et2_textbox
|
||||
}
|
||||
if(length)
|
||||
{
|
||||
jQuery('.suggest', this.wrapper).show();
|
||||
jQuery('.generate_password', this.wrapper).show();
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('.suggest', this.wrapper).hide();
|
||||
jQuery('.generate_password', this.wrapper).hide();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user