Changeset 32716
- Timestamp:
- 06/09/2015 10:01:06 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/js/inline-edit-post.js
r31996 r32716 118 118 119 119 edit : function(id) { 120 var t = this, fields, editRow, rowData, status, pageOpt, pageLevel, nextPage, pageLoop = true, nextLevel, cur_format, f, val ;120 var t = this, fields, editRow, rowData, status, pageOpt, pageLevel, nextPage, pageLoop = true, nextLevel, cur_format, f, val, pw; 121 121 t.revert(); 122 122 … … 210 210 } 211 211 212 pw = $( '.inline-edit-password-input' ).prop( 'disabled', false ); 212 213 if ( 'private' === status ) { 213 214 $('input[name="keep_private"]', editRow).prop('checked', true); 214 $('input.inline-edit-password-input').val('').prop('disabled', true);215 pw.val( '' ).prop( 'disabled', true ); 215 216 } 216 217
Note: See TracChangeset
for help on using the changeset viewer.