summaryrefslogtreecommitdiffstats
path: root/phpfspot.js
diff options
context:
space:
mode:
Diffstat (limited to 'phpfspot.js')
-rw-r--r--phpfspot.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/phpfspot.js b/phpfspot.js
index 4b6a640..ce66cf6 100644
--- a/phpfspot.js
+++ b/phpfspot.js
@@ -117,7 +117,9 @@ function startTagSearch(searchfor)
function setViewMode(mode)
{
- window.alert(mode);
+ var exprt = document.getElementById('output');
+ exprt.innerHTML = "Loading...";
+ exprt.innerHTML = HTML_AJAX.grab(encodeURI('rpc.php?action=get_export&mode=' + mode));
}
function clearSearch()