Ticket #26952: 26952.10.patch
File 26952.10.patch, 1.1 KB (added by , 11 years ago) |
---|
-
src/wp-includes/class-wp-editor.php
1091 1091 <div id="wp-link-update"> 1092 1092 <input type="submit" value="<?php esc_attr_e( 'Add Link' ); ?>" class="button-primary" id="wp-link-submit" name="wp-link-submit"> 1093 1093 </div> 1094 <div id="wp-link-cancel"> 1095 <a class="submitdelete deletion" href="#"><?php _e( 'Cancel' ); ?></a> 1096 </div> 1094 1097 </div> 1095 1098 </form> 1096 1099 </div> -
src/wp-includes/js/wplink.js
38 38 event.preventDefault(); 39 39 wpLink.update(); 40 40 }); 41 inputs.close.add( inputs.backdrop ). click( function( event ) {41 inputs.close.add( inputs.backdrop ).add( '#wp-link-cancel a' ).click( function( event ) { 42 42 event.preventDefault(); 43 43 wpLink.close(); 44 44 });