Changeset 33304
- Timestamp:
- 07/17/2015 04:02:59 AM (9 years ago)
- Location:
- branches/4.2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.2
-
branches/4.2/src/wp-admin/js/updates.js
r33303 r33304 468 468 }); 469 469 470 // Hide SSH fields when not selected 471 $( '#request-filesystem-credentials-dialog input[name="connection_type"]' ).on( 'change', function() { 472 $( this ).parents( 'form' ).find( '#private_key, #public_key' ).parents( 'label' ).toggle( ( 'ssh' == $( this ).val() ) ); 473 }).change(); 474 470 475 // Click handler for plugin updates in List Table view. 471 476 $( '.plugin-update-tr' ).on( 'click', '.update-link', function( e ) { … … 491 496 } ); 492 497 493 //494 498 $( '#plugin_update_from_iframe' ).on( 'click' , function( e ) { 495 499 var target, data;
Note: See TracChangeset
for help on using the changeset viewer.