diff --git a/e107_files/popup.js b/e107_files/popup.js index 622e120f5..13a91f789 100644 --- a/e107_files/popup.js +++ b/e107_files/popup.js @@ -20,11 +20,11 @@ function getRefToDivMod( divID, oDoc ) { //resize method for popup window (resize to fit contents) function resizeWinTo() { if( !document.images.length ) { document.images[0] = document.layers[0].images[0]; } - if( !document.images[0].height || window.doneAlready ) { return; } //in case images are disabled + if( !document.images[0].height || window.doneAlready ) { return false; } //in case images are disabled var oH = getRefToDivMod( 'myID' ); if( !oH ) { return false; } var oW = oH.clip ? oH.clip.width : oH.offsetWidth; var oH = oH.clip ? oH.clip.height : oH.offsetHeight; if( !oH ) { return false; } - if( !oH || window.doneAlready ) { return; } //in case images are disabled + if( !oH || window.doneAlready ) { return false; } //in case images are disabled window.doneAlready = true; //for Safari and Opera /*//no idea why this is in here if(document.getElementsByTagName) { @@ -45,6 +45,7 @@ function resizeWinTo() { //'var scW = screen.availWidth ? screen.availWidth : screen.width; //'var scH = screen.availHeight ? screen.availHeight : screen.height; //'if( !window.opera ) { x.moveTo(Math.round((scW-oW)/2),Math.round((scH-oH)/2)); } + return false; } @@ -154,4 +155,5 @@ function openPerfectPopup(oSrc, oWidth, oTitle, oText){ imgWin.document.close(); if( imgWin.focus ) { imgWin.focus(); } + return false; } diff --git a/e107_handlers/ren_help.php b/e107_handlers/ren_help.php index 8b60bf626..322df362a 100644 --- a/e107_handlers/ren_help.php +++ b/e107_handlers/ren_help.php @@ -11,8 +11,8 @@ | GNU General Public License (http://gnu.org). | | $Source: /cvs_backup/e107_0.8/e107_handlers/ren_help.php,v $ -| $Revision: 1.2 $ -| $Date: 2007-05-17 20:14:57 $ +| $Revision: 1.3 $ +| $Date: 2007-08-16 19:30:49 $ | $Author: e107steved $ +----------------------------------------------------------------------------+ */ @@ -130,6 +130,7 @@ function Color_Select($formid='col_selector') { var tdblk = '<\/td>'; var g = 1; var s = 0; + var i, j, k; function td_render(color) { return '<\/td>';