projects
/
phpfspot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
stylesheet improvements, removed some html table styles
[phpfspot.git]
/
phpfspot.js
diff --git
a/phpfspot.js
b/phpfspot.js
index b196a68f846dbe3222b3309ac46f4066735daedb..26e50903c63b38cb78532dfe25bc53280ced1ff9 100644
(file)
--- a/
phpfspot.js
+++ b/
phpfspot.js
@@
-160,10
+160,12
@@
function AskServerWhatToDo()
return HTML_AJAX.grab(encodeURI('rpc.php?action=what_to_do'));
}
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();
refreshAvailableTags();
+ /* ask the server what we are currently displaying */
whattodo = AskServerWhatToDo();
if(whattodo == 'showpi' || whattodo == 'showpi_date') {
whattodo = AskServerWhatToDo();
if(whattodo == 'showpi' || whattodo == 'showpi_date') {
@@
-179,7
+181,7
@@
function init_phpfspot()
refreshSelectedTags();
}
}
refreshSelectedTags();
}
}
-}
+}
// init_phpfspot()
function setBackGrdColor(item, color)
{
function setBackGrdColor(item, color)
{