diff -r fbfdcea634a7 -r fa4c5ecb7c9a includes/clientside/tinymce/plugins/inlinepopups/editor_plugin_src.js --- a/includes/clientside/tinymce/plugins/inlinepopups/editor_plugin_src.js Thu Jan 31 22:29:07 2008 -0500 +++ b/includes/clientside/tinymce/plugins/inlinepopups/editor_plugin_src.js Sat Feb 02 11:54:16 2008 -0500 @@ -1,8 +1,8 @@ /** - * $Id: editor_plugin_src.js 450 2007-11-27 13:42:19Z spocke $ + * $Id: editor_plugin_src.js 520 2008-01-07 16:30:32Z spocke $ * * @author Moxiecode - * @copyright Copyright © 2004-2007, Moxiecode Systems AB, All rights reserved. + * @copyright Copyright © 2004-2008, Moxiecode Systems AB, All rights reserved. */ (function() { @@ -151,7 +151,7 @@ DOM.setStyles(id, {top : f.top, left : f.left, width : f.width + dw, height : f.height + dh}); if (!f.type) { - DOM.add(id + '_content', 'iframe', {id : id + '_ifr', src : 'javascript:""', frameBorder : 0, style : 'width:10px;height:10px'}); + DOM.add(id + '_content', 'iframe', {id : id + '_ifr', src : 'javascript:""', frameBorder : 0, style : 'border:0;width:10px;height:10px'}); DOM.setStyles(id + '_ifr', {width : f.width, height : f.height}); DOM.setAttrib(id + '_ifr', 'src', f.url || f.file); } else { @@ -171,7 +171,7 @@ w = t.windows[id]; t.focus(id); - if (n.nodeName == 'A') { + if (n.nodeName == 'A' || n.nodeName == 'a') { if (n.className == 'max') { w.oldPos = w.element.getXY(); w.oldSize = w.element.getSize(); @@ -205,7 +205,7 @@ t.focus(id); - if (n.nodeName == 'A') { + if (n.nodeName == 'A' || n.nodeName == 'a') { switch (n.className) { case 'close': t.close(null, id);