mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-28 19:03:14 +01:00
renamed ajax class to fit autoloading scheme
This commit is contained in:
parent
612f7be6d9
commit
5a53158bc7
@ -12,7 +12,7 @@
|
|||||||
/**
|
/**
|
||||||
* Ajax methods for notifications
|
* Ajax methods for notifications
|
||||||
*/
|
*/
|
||||||
class ajaxnotifications {
|
class notifications_ajax {
|
||||||
/**
|
/**
|
||||||
* Appname
|
* Appname
|
||||||
*/
|
*/
|
||||||
@ -80,7 +80,7 @@ class ajaxnotifications {
|
|||||||
private $response;
|
private $response;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* constructor of ajaxnotifications
|
* constructor
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public function __construct() {
|
public function __construct() {
|
||||||
@ -98,7 +98,7 @@ class ajaxnotifications {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* destructor of ajaxnotifications
|
* destructor
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public function __destruct() {}
|
public function __destruct() {}
|
@ -17,7 +17,7 @@
|
|||||||
* notification is written into self::_notification_table.
|
* notification is written into self::_notification_table.
|
||||||
* In the second stage a request from the client reads
|
* In the second stage a request from the client reads
|
||||||
* out the table to look if there is a notificaton for this
|
* out the table to look if there is a notificaton for this
|
||||||
* client. The second stage is done in class.ajaxnotifications.inc.php
|
* client. The second stage is done in class.notifications_ajax.inc.php
|
||||||
*
|
*
|
||||||
* Todo:
|
* Todo:
|
||||||
* - save the messages by uid instead of sessionid into the notification table, this
|
* - save the messages by uid instead of sessionid into the notification table, this
|
||||||
|
@ -18,7 +18,7 @@ function egwpopup_setTimeout() {
|
|||||||
window.setTimeout("egwpopup_refresh();", 60000);
|
window.setTimeout("egwpopup_refresh();", 60000);
|
||||||
}
|
}
|
||||||
function egwpopup_refresh() {
|
function egwpopup_refresh() {
|
||||||
xajax_doXMLHTTP("notifications.ajaxnotifications.get_notifications");
|
xajax_doXMLHTTP("notifications.notifications_ajax.get_notifications");
|
||||||
egwpopup_setTimeout();
|
egwpopup_setTimeout();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user