summaryrefslogtreecommitdiffstats
path: root/phpfspot.js
diff options
context:
space:
mode:
Diffstat (limited to 'phpfspot.js')
-rw-r--r--phpfspot.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/phpfspot.js b/phpfspot.js
index b196a68..26e5090 100644
--- a/phpfspot.js
+++ b/phpfspot.js
@@ -160,10 +160,12 @@ function AskServerWhatToDo()
return HTML_AJAX.grab(encodeURI('rpc.php?action=what_to_do'));
}
-function init_phpfspot()
+function init_phpfspot(mode)
{
+ /* always load list of available tags */
refreshAvailableTags();
+ /* ask the server what we are currently displaying */
whattodo = AskServerWhatToDo();
if(whattodo == 'showpi' || whattodo == 'showpi_date') {
@@ -179,7 +181,7 @@ function init_phpfspot()
refreshSelectedTags();
}
}
-}
+} // init_phpfspot()
function setBackGrdColor(item, color)
{