mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-28 10:53:39 +01:00
Move framework push boradcast method into base class
This commit is contained in:
parent
32ef0d5e36
commit
5a51732752
@ -835,6 +835,18 @@ var fw_base = (function(){ "use strict"; return Class.extend(
|
||||
window.location = _url;
|
||||
},
|
||||
|
||||
/**
|
||||
* This method only used for status app when it tries to broadcast data to users
|
||||
* avoiding throwing exceptions for users whom might have no status app access
|
||||
*
|
||||
* @param {type} _data
|
||||
* @returns {undefined}
|
||||
*/
|
||||
execPushBroadcastAppStatus: function(_data)
|
||||
{
|
||||
if (app.status) app.status.mergeContent(_data, true);
|
||||
},
|
||||
|
||||
/**
|
||||
* Sets the active framework application to the application specified by _app
|
||||
*
|
||||
|
@ -550,18 +550,6 @@
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
* This method only used for status app when it tries to broadcast data to users
|
||||
* avoiding throwing exceptions for users whom might have no status app access
|
||||
*
|
||||
* @param {type} _data
|
||||
* @returns {undefined}
|
||||
*/
|
||||
execPushBroadcastAppStatus: function(_data)
|
||||
{
|
||||
if (app.status) app.status.mergeContent(_data, true);
|
||||
},
|
||||
|
||||
/**
|
||||
* Get color scheme
|
||||
* @return {string|null} returns active color scheme mode or null in case browser not supporting it
|
||||
|
Loading…
Reference in New Issue
Block a user