Changeset 31690
- Timestamp:
- 03/09/2015 07:43:49 PM (10 years ago)
- Location:
- trunk/src
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/js/edit-comments.js
r29662 r31690 352 352 $('#replycontent').css('height', '').val(''); 353 353 $('#edithead input').val(''); 354 $('.error', replyrow). html('').hide();354 $('.error', replyrow).empty().hide(); 355 355 $('.spinner', replyrow).hide(); 356 356 -
trunk/src/wp-admin/js/inline-edit-post.js
r31274 r31690 287 287 if ( 'bulk-edit' === id ) { 288 288 $('table.widefat #bulk-edit').removeClass('inline-editor').hide().siblings('tr.hidden').remove(); 289 $('#bulk-titles'). html('');289 $('#bulk-titles').empty(); 290 290 $('#inlineedit').append( $('#bulk-edit') ); 291 291 } else { -
trunk/src/wp-admin/js/media.js
r31582 r31690 33 33 34 34 close: function() { 35 $('#find-posts-response'). html('');35 $('#find-posts-response').empty(); 36 36 $('#find-posts').hide(); 37 37 $( '.ui-find-overlay' ).hide(); -
trunk/src/wp-admin/js/theme.js
r31497 r31690 901 901 render: function() { 902 902 // Clear the DOM, please 903 this.$el. html( '');903 this.$el.empty(); 904 904 905 905 // If the user doesn't have switch capabilities -
trunk/src/wp-admin/js/widgets.js
r29726 r31690 234 234 drop: function(e,ui) { 235 235 ui.draggable.addClass('deleting'); 236 $('#removing-widget').hide().children('span'). html('');236 $('#removing-widget').hide().children('span').empty(); 237 237 }, 238 238 over: function(e,ui) { … … 248 248 ui.draggable.removeClass('deleting'); 249 249 $('div.widget-placeholder').show(); 250 $('#removing-widget').hide().children('span'). html('');250 $('#removing-widget').hide().children('span').empty(); 251 251 } 252 252 }); -
trunk/src/wp-includes/js/media/views.js
r31642 r31690 4605 4605 4606 4606 // clear out previous results 4607 this.$('.embed-container').hide().find('.embed-preview'). html('');4607 this.$('.embed-container').hide().find('.embed-preview').empty(); 4608 4608 this.$( '.setting' ).hide(); 4609 4609 -
trunk/src/wp-includes/js/media/views/embed/link.js
r31642 r31690 28 28 29 29 // clear out previous results 30 this.$('.embed-container').hide().find('.embed-preview'). html('');30 this.$('.embed-container').hide().find('.embed-preview').empty(); 31 31 this.$( '.setting' ).hide(); 32 32 -
trunk/src/wp-includes/js/plupload/handlers.js
r27693 r31690 449 449 450 450 uploader.bind('FilesAdded', function( up, files ) { 451 $('#media-upload-error'). html('');451 $('#media-upload-error').empty(); 452 452 uploadStart(); 453 453 -
trunk/src/wp-includes/js/wp-ajax-response.js
r26159 r31690 13 13 }, 14 14 parseAjaxResponse: function( x, r, e ) { // 1 = good, 0 = strange (bad data?), -1 = you lack permission 15 var parsed = {}, re = jQuery('#' + r). html(''), err = '';15 var parsed = {}, re = jQuery('#' + r).empty(), err = ''; 16 16 17 17 if ( x && typeof x == 'object' && x.getElementsByTagName('wp_ajax') ) {
Note: See TracChangeset
for help on using the changeset viewer.