Changeset 49337
- Timestamp:
- 10/27/2020 06:41:32 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/js/_enqueues/admin/user-profile.js
r49248 r49337 146 146 147 147 bindToggleButton(); 148 149 // Generate the first password and cache it, but don't set it yet.150 wp.ajax.post( 'generate-password' )151 .done( function( data ) {152 // Cache password.153 $pass1.data( 'pw', data );154 } );155 148 156 149 $generateButton.show();
Note: See TracChangeset
for help on using the changeset viewer.