Ticket #19369: 19369.patch
File 19369.patch, 755 bytes (added by , 13 years ago) |
---|
-
wp-includes/js/wplink.dev.js
30 30 // Bind event handlers 31 31 inputs.dialog.keydown( wpLink.keydown ); 32 32 inputs.dialog.keyup( wpLink.keyup ); 33 inputs.submit.click( function( e){33 inputs.submit.click( function( e ) { 34 34 wpLink.update(); 35 35 e.preventDefault(); 36 36 }); 37 $('#wp-link-cancel').click( wpLink.close ); 37 $('#wp-link-cancel').click( function( e ) { 38 wpLink.close(); 39 e.preventDefault(); 40 }); 38 41 $('#internal-toggle').click( wpLink.toggleInternalLinking ); 39 42 40 43 rivers.elements.bind('river-select', wpLink.updateFields );