]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-includes/js/tinymce/plugins/wpeditimage/js/editimage.js
Wordpress 3.7
[autoinstalls/wordpress.git] / wp-includes / js / tinymce / plugins / wpeditimage / js / editimage.js
index 18e781179f62ccbf3b30d07b2b057a472f3a9863..e00ca2b8eaeb974eaca9777c157d7a6801f73ec7 100644 (file)
@@ -497,7 +497,7 @@ wpImage = {
                        ed.selection.moveToBookmark(b);
                }
 
-               tinyMCEPopup.execCommand("mceEndUndoLevel");
+               ed.execCommand("mceEndUndoLevel");
                ed.execCommand('mceRepaint');
                tinyMCEPopup.close();
        },