aboutsummaryrefslogtreecommitdiffstats
path: root/js
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-02-03 19:07:01 -0800
committerfriendica <info@friendica.com>2013-02-03 19:07:01 -0800
commit9dcecb6b3704037cb13e8a6350b5df83f6917a40 (patch)
tree7095ac50e1fea699e2d2a003cbfbf4f864846471 /js
parent4ae5445e032aadd918dc75ca71bc6819f05bb2f4 (diff)
downloadvolse-hubzilla-9dcecb6b3704037cb13e8a6350b5df83f6917a40.tar.gz
volse-hubzilla-9dcecb6b3704037cb13e8a6350b5df83f6917a40.tar.bz2
volse-hubzilla-9dcecb6b3704037cb13e8a6350b5df83f6917a40.zip
finish up the "mark all xyz seen" for all known values of xyz
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) {