diff options
author | Andrew Dolgov <[email protected]> | 2007-03-02 20:58:58 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2007-03-02 20:58:58 +0100 |
commit | 42c329162265a17e9f8f2444de2d061fb3cfb4a5 (patch) | |
tree | 32727ebaba11ea6371596e2495ce1af83559eeef /tt-rss.js | |
parent | 0d32b41e36fffa800991267b637d9344cb88fd2e (diff) |
UI improvements
Diffstat (limited to 'tt-rss.js')
-rw-r--r-- | tt-rss.js | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -37,7 +37,7 @@ function toggleTags() { p.innerHTML = "display tags"; } - notify("Loading, please wait..."); + notify_progress("Loading, please wait..."); updateFeedList(); } @@ -71,7 +71,7 @@ function refetch_callback() { debug("refetch_callback: done"); if (!daemon_enabled && !daemon_refresh_only) { - notify("All feeds updated."); + notify_info("All feeds updated."); updateTitle(""); } else { //notify(""); @@ -135,7 +135,7 @@ function backend_sanity_check_callback() { function scheduleFeedUpdate(force) { if (!daemon_enabled && !daemon_refresh_only) { - notify("Updating feeds, please wait.", true); + notify_progress("Updating feeds, please wait.", true); updateTitle("Updating"); } @@ -231,7 +231,7 @@ function catchupAllFeeds() { var query_str = "backend.php?op=feeds&subop=catchupAll"; - notify("Marking all feeds as read..."); + notify_progress("Marking all feeds as read..."); debug("catchupAllFeeds Q=" + query_str); @@ -474,7 +474,7 @@ function quickMenuGo(opid) { function qfdDelete(feed_id) { - notify("Removing feed..."); + notify_progress("Removing feed..."); if (!xmlhttp_ready(xmlhttp)) { printLockingError(); @@ -552,7 +552,7 @@ function parse_runtime_info(elem) { } if (k == "daemon_is_running" && v != 1) { - notify("<span onclick=\"javascript:explainError(1)\">Update daemon is not runing.</span>", true, true); + notify_error("<span onclick=\"javascript:explainError(1)\">Update daemon is not runing.</span>"); } /* var w = document.getElementById("noDaemonWarning"); @@ -634,7 +634,7 @@ function feedEditSave() { var query = Form.serialize("edit_feed_form"); - notify("Saving feed..."); + notify_progress("Saving feed..."); xmlhttp.open("POST", "backend.php", true); xmlhttp.onreadystatechange=dlg_frefresh_callback; @@ -701,7 +701,7 @@ function localHotkeyHandler(e) { } } else { - notify("No operation to undo"); + notify_error("No operation to undo"); } return false; |