mirror of
https://github.com/flarum/framework.git
synced 2025-03-11 21:05:25 +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
2d714a06b5
commit
2dced2e6c8
61418
framework/core/js/dist/admin.js
vendored
61418
framework/core/js/dist/admin.js
vendored
File diff suppressed because one or more lines are too long
2
framework/core/js/dist/admin.js.map
vendored
2
framework/core/js/dist/admin.js.map
vendored
File diff suppressed because one or more lines are too long
70126
framework/core/js/dist/forum.js
vendored
70126
framework/core/js/dist/forum.js
vendored
File diff suppressed because one or more lines are too long
2
framework/core/js/dist/forum.js.map
vendored
2
framework/core/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