assets/vendor/tinymce/plugins/inlinepopups/editor_plugin.js in tinymce-rails-3.4.3.2 vs assets/vendor/tinymce/plugins/inlinepopups/editor_plugin.js in tinymce-rails-3.4.4

- old
+ new

@@ -217,10 +217,13 @@ w = t.windows[id]; t.focus(id); if (n.nodeName == 'A' || n.nodeName == 'a') { - if (n.className == 'mceMax') { + if (n.className == 'mceClose') { + t.close(null, id); + return Event.cancel(e); + } else if (n.className == 'mceMax') { w.oldPos = w.element.getXY(); w.oldSize = w.element.getSize(); vp = DOM.getViewPort();