Fix pass change dialog
This commit is contained in:
parent
29649469d3
commit
806bcc036d
2
js/dist/bundle.js
vendored
2
js/dist/bundle.js
vendored
File diff suppressed because one or more lines are too long
2
js/dist/bundle.js.map
vendored
2
js/dist/bundle.js.map
vendored
File diff suppressed because one or more lines are too long
@ -59,6 +59,7 @@ export default class UserDialogModel extends ViewModel {
|
|||||||
this.dialog.show();
|
this.dialog.show();
|
||||||
this.bindAll(this.dialog.element);
|
this.bindAll(this.dialog.element);
|
||||||
const passInput = this.getBoundElement('passInput');
|
const passInput = this.getBoundElement('passInput');
|
||||||
|
if (passInput) {
|
||||||
this.onChanged('passVisibility', () => {
|
this.onChanged('passVisibility', () => {
|
||||||
if (passInput.style.display === 'none') {
|
if (passInput.style.display === 'none') {
|
||||||
passInput.style.display = 'block';
|
passInput.style.display = 'block';
|
||||||
@ -67,6 +68,7 @@ export default class UserDialogModel extends ViewModel {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
onUserDelete() {
|
onUserDelete() {
|
||||||
if (uDialog.isConfirmed($._('userdelwarn', uUtils.htmlEncode(this.user.login)))) {
|
if (uDialog.isConfirmed($._('userdelwarn', uUtils.htmlEncode(this.user.login)))) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user