projects
/
phpfspot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e28116
)
set a startup variable. unset it with the first call of the photo index page
author
Andreas Unterkircher
<unki@netshadow.at>
Wed, 4 Jul 2007 18:32:50 +0000
(18:32 +0000)
committer
Andreas Unterkircher
<unki@netshadow.at>
Wed, 4 Jul 2007 18:32:50 +0000
(18:32 +0000)
git-svn-id: file:///var/lib/svn/phpfspot/trunk@159
fa6a889d
-dae6-447d-9e79-
4ba9a3039384
phpfspot.js
patch
|
blob
|
history
diff --git
a/phpfspot.js
b/phpfspot.js
index bde4c6aafc5540bc7fce5a410188e494513a6819..2d7e780c4cf7b4a63400d2dceb7c03a0a75191ae 100644
(file)
--- a/
phpfspot.js
+++ b/
phpfspot.js
@@
-67,8
+67,9
@@
function showBubbleDetails(object, id, direction)
// if photo index is currently shown, refresh it
function refreshPhotoIndex()
{
- if(document.getElementById("matrix") != undefined) {
+ if(document.getElementById("matrix") != undefined
|| startup == 1
) {
showPhotoIndex();
+ startup = 0;
}
}
@@
-111,3
+112,5
@@
function clearSearch()
{
document.getElementsByName('searchfor')[0].value = '';
}
+
+var startup = 1;