src/crypto.c: possible fix for memory leak related
[citadel.git] / webcit / tiny_mce / plugins / inlinepopups / editor_plugin_src.js
index 2aa231cdb25019aad52dbcf3c1229f8b7805015e..7ce2e3c343901ad523d2a7138e910daea3398294 100644 (file)
@@ -1,7 +1,7 @@
 /**\r
  * $RCSfile: editor_plugin_src.js,v $\r
- * $Revision: 1.2 $\r
- * $Date: 2005/09/26 18:00:52 $\r
+ * $Revision: 1.4 $\r
+ * $Date: 2005/11/27 18:06:45 $\r
  *\r
  * Moxiecode DHTML Windows script.\r
  *\r
@@ -25,7 +25,7 @@ TinyMCE.prototype.orgOpenWindow = TinyMCE.prototype.openWindow;
 \r
 TinyMCE.prototype.openWindow = function(template, args) {\r
        // Does the caller support inline\r
-       if (args['inline'] != "yes") {\r
+       if (args['inline'] != "yes" || tinyMCE.isOpera || tinyMCE.getParam("plugins").indexOf('inlinepopups') == -1) {\r
                mcWindows.selectedWindow = null;\r
                args['mce_inside_iframe'] = false;\r
                this.orgOpenWindow(template, args);\r