Ticket #23120: widgetpatch.diff
File widgetpatch.diff, 1.2 KB (added by , 12 years ago) |
---|
-
wp-admin/js/widgets.js
190 190 }); 191 191 192 192 $.post( ajaxurl, a, function() { 193 $('.spinner').hide(); 193 $('.spinner').addClass('confirmsaved').delay(1000).animate({ opacity: 0 }, 500, 'linear', function(){ 194 $(this).hide().css('opacity', 1); 195 }); 194 196 }); 195 197 196 198 this.resize(); … … 235 237 wpWidgets.resize(); 236 238 } 237 239 } else { 238 $('.spinner').hide(); 240 $('.spinner').addClass('confirmsaved').delay(1000).animate({ opacity: 0 }, 500, 'linear', function(){ 241 $(this).hide().css('opacity', 1); 242 }); 239 243 if ( r && r.length > 2 ) { 240 244 $('div.widget-content', widget).html(r); 241 245 wpWidgets.appendTitle(widget); -
wp-admin/css/wp-admin.css
4190 4190 margin: 5px 5px 0; 4191 4191 } 4192 4192 4193 .spinner.confirmsaved { 4194 background: url(../images/yes.png); 4195 } 4196 4193 4197 .no-float { 4194 4198 float: none; 4195 4199 }