Ticket #31607: 31607.diff
File 31607.diff, 798 bytes (added by , 10 years ago) |
---|
-
src/wp-admin/js/updates.js
386 386 wp.updates.requestFilesystemCredentials = function() { 387 387 if ( wp.updates.updateDoneSuccessfully === false ) { 388 388 wp.updates.updateLock = true; 389 $(document.body).addClass( 'modal-open' ); 389 390 $('#request-filesystem-credentials-dialog').show(); 390 391 } 391 392 }; … … 402 403 wp.updates.filesystemCredentials.ssh.publicKey = $('#public_key').val(); 403 404 wp.updates.filesystemCredentials.ssh.privateKey = $('#private_key').val(); 404 405 406 $(document.body).removeClass( 'modal-open' ); 405 407 $('#request-filesystem-credentials-dialog').hide(); 406 408 407 409 // Unlock and invoke the queue.