- further cleaned up the toggle action
- there's no way to remove the redraws because then the jquery isn't being fired properly
This commit is contained in:
Daniël Klabbers 2019-01-25 05:37:45 +01:00
parent 0ab9facc4b
commit c7d2e165d7
5 changed files with 131491 additions and 59 deletions

61418
js/dist/admin.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

70126
js/dist/forum.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -77,7 +77,7 @@ export default class EditUserModal extends Modal {
<label>{app.translator.trans('core.forum.edit_user.password_heading')}</label>
<div>
<label className="checkbox">
<input type="checkbox" value={this.setPassword()} onchange={e => {
<input type="checkbox" onchange={e => {
this.setPassword(e.target.checked);
m.redraw(true);
if (e.target.checked) this.$('[name=password]').select();