From: Andreas Unterkircher Date: Sun, 6 Jan 2008 08:52:15 +0000 (+0100) Subject: refixed a little bug when modifying tag selection X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=phpfspot.git;a=commitdiff_plain;h=b808ecb188d4745f7b72c71311a0b03964298372;ds=sidebyside refixed a little bug when modifying tag selection Signed-off-by: Andreas Unterkircher --- diff --git a/phpfspot.js b/phpfspot.js index 1b1f05d..4bd321f 100644 --- a/phpfspot.js +++ b/phpfspot.js @@ -58,7 +58,7 @@ function showPhotoIndex(begin_with) // if photo index is currently shown, refresh it function refreshPhotoIndex() { - if(document.getElementById("matrix") != undefined || startup == 1) { + if(document.getElementById("index") != undefined || startup == 1) { showPhotoIndex(); startup = 0; } diff --git a/themes/default/templates/photo_index.tpl b/themes/default/templates/photo_index.tpl index 05d0ecd..3e0f9e7 100644 --- a/themes/default/templates/photo_index.tpl +++ b/themes/default/templates/photo_index.tpl @@ -41,7 +41,7 @@ -
+
{section name="row" loop=$rows step=1} {section name="col" loop=$columns step=1} {if $images[row][col] }