]> git.wh0rd.org - tt-rss.git/blobdiff - js/prefs.js
fix af_zz_vidmute for new chrome breaking muting via setAttribute
[tt-rss.git] / js / prefs.js
index 3b6c67e1764f7c4043f789eb76b5ad19a90ba909..c2190280c431615c94aea89f80c31b2775adf235 100755 (executable)
@@ -832,6 +832,10 @@ function init() {
                "dijit/Tree",
                "dijit/tree/dndSource",
                "dojo/data/ItemFileWriteStore",
+               "lib/CheckBoxStoreModel",
+               "lib/CheckBoxTree",
+               "fox/PrefFeedStore",
+               "fox/PrefFilterStore",
                "fox/PrefFeedTree",
                "fox/PrefFilterTree",
                "fox/PrefLabelTree"], function (dojo, ready, parser) {
@@ -866,7 +870,7 @@ function validatePrefsReset() {
 
        if (ok) {
 
-               query = "?op=pref-prefs&method=resetconfig";
+               var query = "?op=pref-prefs&method=resetconfig";
                console.log(query);
 
                new Ajax.Request("backend.php", {
@@ -1441,7 +1445,7 @@ function insertSSLserial(value) {
 }
 
 function gotoExportOpml(filename, settings) {
-       tmp = settings ? 1 : 0;
+       var tmp = settings ? 1 : 0;
        document.location.href = "backend.php?op=opml&method=export&filename=" + filename + "&settings=" + tmp;
 }