aboutsummaryrefslogtreecommitdiffstats
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-rw-r--r--js/main.js13
1 files changed, 5 insertions, 8 deletions
diff --git a/js/main.js b/js/main.js
index 458fc5e87..4d4a510e7 100644
--- a/js/main.js
+++ b/js/main.js
@@ -95,7 +95,11 @@
document.getElementById(theID).style.display = "none"
}
-
+ function markRead(notifType) {
+ $.get('ping?f=&markRead='+notifType);
+ if(timer) clearTimeout(timer);
+ timer = setTimeout(NavUpdate,2000);
+ }
var src = null;
var prev = null;
@@ -789,13 +793,6 @@ function checkboxhighlight(box) {
}
}
-function notifyMarkAll() {
- $.get('notify/mark/all', function(data) {
- if(timer) clearTimeout(timer);
- timer = setTimeout(NavUpdate,1000);
- });
-}
-
// code from http://www.tinymce.com/wiki.php/How-to_implement_a_custom_file_browser
function fcFileBrowser (field_name, url, type, win) {