X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=phpfspot.git;a=blobdiff_plain;f=phpfspot.js;h=26e50903c63b38cb78532dfe25bc53280ced1ff9;hp=b196a68f846dbe3222b3309ac46f4066735daedb;hb=2c33b25c82ee1b2a5eaf4eb4f8839cc47bf8425e;hpb=5bc350814a9426a89e8ab06728badad9430d4015 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) {