mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-27 09:12:41 +01:00
21 lines
507 B
JavaScript
21 lines
507 B
JavaScript
|
/**
|
||
|
* @provides javelin-behavior-conpherence-init
|
||
|
* @requires javelin-behavior
|
||
|
* javelin-dom
|
||
|
* javelin-stratcom
|
||
|
*/
|
||
|
JX.behavior('conpherence-init', function(config) {
|
||
|
// select the current message
|
||
|
var selectedConpherence = false;
|
||
|
if (config.selected_conpherence_id) {
|
||
|
var selected = JX.$(config.selected_conpherence_id);
|
||
|
JX.Stratcom.invoke(
|
||
|
'conpherence-initial-selected',
|
||
|
null,
|
||
|
{ selected : selected }
|
||
|
);
|
||
|
selectedConpherence = true;
|
||
|
}
|
||
|
|
||
|
});
|