forked from extern/egroupware
Move framework push boradcast method into base class
This commit is contained in:
parent
b66db79289
commit
d518a2b118
@ -837,6 +837,18 @@ window.fw_base = (function(){ "use strict"; return Class.extend(
|
|||||||
window.location = _url;
|
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
|
* Sets the active framework application to the application specified by _app
|
||||||
*
|
*
|
||||||
|
@ -519,18 +519,6 @@ import "sortablejs/Sortable.min.js";
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
|
||||||
* 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
|
* Get color scheme
|
||||||
* @return {string|null} returns active color scheme mode or null in case browser not supporting it
|
* @return {string|null} returns active color scheme mode or null in case browser not supporting it
|
||||||
|
Loading…
Reference in New Issue
Block a user