Commit 877bf3d
committed
Users: Fix Generate Password button requiring two clicks to update the password field on the Add New User screen.
The password was previously set before the AJAX response returned, resulting in the first click not updating the password field. This change moves the `generatePassword()` call inside the AJAX callback to ensure the password is always updated immediately.
Props taninahmed.
Fixes #63897.1 parent 2fe30e7 commit 877bf3d
1 file changed
+2
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
255 | 255 | | |
256 | 256 | | |
257 | 257 | | |
258 | | - | |
259 | | - | |
260 | | - | |
261 | 258 | | |
262 | 259 | | |
263 | 260 | | |
264 | 261 | | |
265 | 262 | | |
266 | 263 | | |
267 | 264 | | |
| 265 | + | |
| 266 | + | |
268 | 267 | | |
269 | 268 | | |
270 | 269 | | |
| |||
0 commit comments