Ticket #21811: 21811-11.patch
File 21811-11.patch, 485 bytes (added by , 11 years ago) |
---|
-
src/wp-admin/js/image-edit.js
diff --git src/wp-admin/js/image-edit.js src/wp-admin/js/image-edit.js index af908d5..3fd44f5 100644
var imageEdit = window.imageEdit = { 243 243 $('#image-editor-' + postid).empty().append(r); 244 244 t.toggleEditor(postid, 0); 245 245 // refresh the attachment model so that changes propagate 246 if ( t his._view ) {247 t his._view.refresh();246 if ( t._view ) { 247 t._view.refresh(); 248 248 } 249 249 }); 250 250 },