finish up the "mark all xyz seen" for all known values of xyz

This commit is contained in:
friendica
2013-02-03 19:07:01 -08:00
parent 4ae5445e03
commit 9dcecb6b37
6 changed files with 61 additions and 30 deletions

View File

@@ -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) {