if (ok) {
- query = "?op=pref-prefs&method=resetconfig";
+ var query = "?op=pref-prefs&method=resetconfig";
console.log(query);
new Ajax.Request("backend.php", {
dijit.getEnclosingWidget(toolbar.order_by).attr('value',
getInitParam("default_view_order_by"));
- feeds_sort_by_unread = getInitParam("feeds_sort_by_unread") == 1;
+ var feeds_sort_by_unread = getInitParam("feeds_sort_by_unread") == 1;
var hash_feed_id = hash_get('f');
var hash_feed_is_cat = hash_get('c') == "1";
var tmp = [];
for (var sequence in hotkeys[1]) {
- filtered = sequence.replace(/\|.*$/, "");
+ var filtered = sequence.replace(/\|.*$/, "");
tmp[filtered] = hotkeys[1][sequence];
}
return;
}
- query = "?op=rpc&method=delete&ids=" + param_escape(rows);
+ var query = "?op=rpc&method=delete&ids=" + param_escape(rows);
console.log(query);
return;
}
- query = "?op=rpc&method="+op+"&ids=" + param_escape(rows);
+ var query = "?op=rpc&method="+op+"&ids=" + param_escape(rows);
console.log(query);