issue13, fixed external link - the browser will complete them
[phpfspot.git] / phpfspot.js
index 2132ea511617c52842823f0609e511840e598dc9..ce66cf6a35a924ec5f5a5e979575f5c06fb791ac 100644 (file)
@@ -115,6 +115,13 @@ function startTagSearch(searchfor)
 
 }
 
+function setViewMode(mode)
+{
+   var exprt = document.getElementById('output');
+   exprt.innerHTML = "Loading...";
+   exprt.innerHTML = HTML_AJAX.grab(encodeURI('rpc.php?action=get_export&mode=' + mode));
+}
+
 function clearSearch()
 {
    document.getElementsByName('searchfor')[0].value = '';