little re-design of notifications: cleaned up relation between main class and backends. main class is responsible for notification routing. backends are responsible for sending one message to one user. relocated ajax functions to a separate file.

This commit is contained in:
Christian Binder
2007-12-18 15:53:38 +00:00
parent e0217cfabd
commit 40a68b6cfd
10 changed files with 359 additions and 295 deletions

View File

@ -18,7 +18,7 @@ function notificationwindow_setTimeout() {
window.setTimeout("notificationwindow_refresh();", 60000);
}
function notificationwindow_refresh() {
xajax_doXMLHTTP("notifications.notification_popup.ajax_get_notifications");
xajax_doXMLHTTP("notifications.ajaxnotifications.get_popup_notifications");
notificationwindow_setTimeout();
}