validatePrefsReset: fix function not working properly

This commit is contained in:
Andrew Dolgov 2011-03-18 14:15:06 +03:00
parent bd202c3f89
commit fb5662dec0
1 changed files with 156 additions and 157 deletions

View File

@ -942,8 +942,7 @@ function validatePrefsReset() {
if (ok) {
var query = Form.serialize("pref_prefs_form");
query = query + "&subop=reset-config";
query = "?op=pref-prefs&subop=reset-config";
console.log(query);
new Ajax.Request("backend.php", {