mirror of
https://github.com/flarum/framework.git
synced 2025-04-19 18:31:04 +08:00
Fixes #1686
- 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:
parent
0ab9facc4b
commit
c7d2e165d7
61418
js/dist/admin.js
vendored
61418
js/dist/admin.js
vendored
File diff suppressed because one or more lines are too long
2
js/dist/admin.js.map
vendored
2
js/dist/admin.js.map
vendored
File diff suppressed because one or more lines are too long
70126
js/dist/forum.js
vendored
70126
js/dist/forum.js
vendored
File diff suppressed because one or more lines are too long
2
js/dist/forum.js.map
vendored
2
js/dist/forum.js.map
vendored
File diff suppressed because one or more lines are too long
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user