on reset also reset tag search result
[phpfspot.git] / phpfspot.js
index 859b198147cb562fb87e8cad795224741d838428..a7b830f9c4828fafa9496c26098655ab120f7992 100644 (file)
@@ -21,7 +21,7 @@ function Tags(mode, id)
       HTML_AJAX.grab(encodeURI('rpc.php?action=deltag&id=' + id));
    }
    else if(mode == "reset") {
-      HTML_AJAX.grab(encodeURI('rpc.php?action=resettags'));
+      HTML_AJAX.grab(encodeURI('rpc.php?action=reset'));
    }
    else if(mode == "condition") {
       setCheckedValue(id, id.value);