From 57ee203e29d521931a152b413ad3acc0db555197 Mon Sep 17 00:00:00 2001 From: rvelices Date: Fri, 17 Nov 2006 04:20:07 +0000 Subject: fix: phpWGOpenWindow was not working because of popup blocker in IE and FF if the image was not in the cache git-svn-id: http://piwigo.org/svn/trunk@1611 68402e56-0260-453c-a942-63ccdbb3a9ee --- template-common/scripts.js | 35 +++++++++++++++-------------------- 1 file changed, 15 insertions(+), 20 deletions(-) (limited to 'template-common') diff --git a/template-common/scripts.js b/template-common/scripts.js index a96775ce4..83f4815e7 100644 --- a/template-common/scripts.js +++ b/template-common/scripts.js @@ -1,6 +1,6 @@ function SelectAll( formulaire ) { -len = formulaire.elements.length; +var len = formulaire.elements.length; var i=0; for( i = 0; i < len; i++) { @@ -14,7 +14,7 @@ for( i = 0; i < len; i++) function DeselectAll( formulaire ) { -len = formulaire.elements.length; +var len = formulaire.elements.length; var i=0; for( i = 0; i < len; i++) { @@ -28,7 +28,7 @@ for( i = 0; i < len; i++) function Inverser( formulaire ) { -len = formulaire.elements.length; +var len = formulaire.elements.length; var i=0; for( i=0; i