strict js: various var fixes
This commit is contained in:
parent
ab688e963d
commit
a972ab45bd
|
@ -866,7 +866,7 @@ function validatePrefsReset() {
|
||||||
|
|
||||||
if (ok) {
|
if (ok) {
|
||||||
|
|
||||||
query = "?op=pref-prefs&method=resetconfig";
|
var query = "?op=pref-prefs&method=resetconfig";
|
||||||
console.log(query);
|
console.log(query);
|
||||||
|
|
||||||
new Ajax.Request("backend.php", {
|
new Ajax.Request("backend.php", {
|
||||||
|
|
|
@ -610,7 +610,7 @@ function init_second_stage() {
|
||||||
dijit.getEnclosingWidget(toolbar.order_by).attr('value',
|
dijit.getEnclosingWidget(toolbar.order_by).attr('value',
|
||||||
getInitParam("default_view_order_by"));
|
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_id = hash_get('f');
|
||||||
var hash_feed_is_cat = hash_get('c') == "1";
|
var hash_feed_is_cat = hash_get('c') == "1";
|
||||||
|
@ -629,7 +629,7 @@ function init_second_stage() {
|
||||||
var tmp = [];
|
var tmp = [];
|
||||||
|
|
||||||
for (var sequence in hotkeys[1]) {
|
for (var sequence in hotkeys[1]) {
|
||||||
filtered = sequence.replace(/\|.*$/, "");
|
var filtered = sequence.replace(/\|.*$/, "");
|
||||||
tmp[filtered] = hotkeys[1][sequence];
|
tmp[filtered] = hotkeys[1][sequence];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -934,7 +934,7 @@ function deleteSelection() {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
query = "?op=rpc&method=delete&ids=" + param_escape(rows);
|
var query = "?op=rpc&method=delete&ids=" + param_escape(rows);
|
||||||
|
|
||||||
console.log(query);
|
console.log(query);
|
||||||
|
|
||||||
|
@ -978,7 +978,7 @@ function archiveSelection() {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
query = "?op=rpc&method="+op+"&ids=" + param_escape(rows);
|
var query = "?op=rpc&method="+op+"&ids=" + param_escape(rows);
|
||||||
|
|
||||||
console.log(query);
|
console.log(query);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue