]> git.wh0rd.org - tt-rss.git/commitdiff
add notify feedback on tab change
authorAndrew Dolgov <fox@madoka.spb.ru>
Fri, 19 May 2006 03:22:59 +0000 (04:22 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Fri, 19 May 2006 03:22:59 +0000 (04:22 +0100)
prefs.js

index 85c707e618323df04c305b75f2dcd7bb8ee47e01..04c5266b6755c6c6107d27961bcf5180f7e9fa47 100644 (file)
--- a/prefs.js
+++ b/prefs.js
@@ -62,7 +62,7 @@ function feedlist_callback() {
                                        checkbox.checked = true;
                                }
                        }
-//                     p_notify("");
+                       notify("");
                } catch (e) {
                        exception_error("feedlist_callback", e);
                }
@@ -88,7 +88,7 @@ function filterlist_callback() {
                                checkbox.checked = true;
                        }
                }
-//             p_notify("");
+               notify("");
        }
 }
 
@@ -110,7 +110,7 @@ function labellist_callback() {
                                checkbox.checked = true;
                        }
                }
-//             p_notify("");
+               notify("");
        }
 }
 
@@ -118,7 +118,7 @@ function feed_browser_callback() {
        var container = document.getElementById('prefContent');
        if (xmlhttp.readyState == 4) {
                container.innerHTML=xmlhttp.responseText;
-//             p_notify("");
+               notify("");
        }
 }
 
@@ -140,8 +140,7 @@ function userlist_callback() {
                                checkbox.checked = true;
                        }
                } 
-
-//             p_notify("");
+               notify("");
        }
 }
 
@@ -150,8 +149,8 @@ function prefslist_callback() {
        if (xmlhttp.readyState == 4) {
 
                container.innerHTML=xmlhttp.responseText;
-
-//             p_notify("");
+               
+               notify("");
        }
 }
 
@@ -1297,6 +1296,8 @@ function selectTab(id, noupdate) {
 
        if (!noupdate) {
 
+               notify("Loading, please wait...", true);
+
                if (id == "feedConfig") {
                        updateFeedList();
                } else if (id == "filterConfig") {