123456 |
- // Licensed Materials - Property of IBM
- // IBM Cognos Products: rs
- // (C) Copyright IBM Corp. 2003, 2022.
- // US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
- _mv9._77j=function(_2am,_2bi,_jw4){if(_2bi){this._qm4(_jw4);}this._xaj();};_mv9._qm4=function(_jw4){this._pg=_jw4[0];this._gql=document.getElementById("idARVariablesTree");this._gql.onmouseup=this._76d.bind(this);this._99a=true;_erh._q0g(this);_8l8._q0g(this);};_mv9._fdm=function(){_8l8._hab(this);_erh._hab(this);if(this._gql){this._gql.onmouseup=null;this._gql=null;}if(this._zp6){this._zp6._fdm();this._zp6=null;}if(this._hfd){this._hfd._fdm();this._hfd=null;}};_mv9._m9=function(){if(this._zp6){var _zpi=_8l8._r66();if(_zpi){this._zp6._6r1(_zpi);}}};_mv9._1c7=function(){var _389=(_ypn._0he()||(_38g._g0n==_j8j||_38g._g0n==_ov9))&&!_agm._ra7(_erh._vtc());if(!_389){if(this._zp6){this._zp6._fdm();this._zp6=null;}return;}this._99a=true;this._xaj(); };_mv9._ta5=function(){this._99a=true;this._xaj(); };_mv9._xaj=function(){if(!this._czh||!this._99a||!_erh._zik()){return;}this._99a=false;var _83m=_erh._vtc();if(_agm._vuc(_83m)){this._zp6=new this._pg(this._gql, this);this._zp6._v7j(_83m);this._zp6._wfn();}};_mv9._qx=function(_52e,_uni){var _h7k=this._zp6._j3g();var _b58=_h7k._5r9();var _fug=_b58&&( _b58.getAttribute( "smallSvgIcon" )=="def_el_appVariable" );_52e._o96("mnuPaneARVariablesEdit", _fug);_52e._o96("mnuPaneARVariablesDelete", _fug); };_mv9._76d=function(e){if(e.button==_4qn._he7){var _h7k=this._zp6._j3g();if(_h7k){var _t2k=_h7k._ukl(e.clientX, e.clientY);var _b58=_h7k._5r9();if (( _t2k&&( _t2k.getAttribute( "classPrefix" )=="clsTreeNode_hyperlink" ) )||(_b58&&( _b58.getAttribute( "classPrefix" )=="clsTreeNode_hyperlink" ) )){return;}if(!this._hfd){this._hfd=new _3ce(_frh._53g("MenuPopupPaneARVariables"), this);}this._hfd._pxc("mnuPaneARVariablesPopup", e.clientX, e.clientY);}}};_mv9._urc=function(cmdid,_vqj){switch(cmdid){case "cmdEditAppVariable":var _t2k=this._zp6._j3g()._5r9();var _vae=_t2k.getAttribute("label");var _83m=_erh._vtc();(new _847(_83m, true))._xfn(_vae);break;case "cmdDeleteAppVariable":var _t2k=this._zp6._j3g()._5r9();var _vae=_t2k.getAttribute("label");var _83m=_erh._vtc();(new _847(_83m, true))._vem(_vae);break;case "cmdCreateNewAppVariable":var _83m=_erh._vtc();(new _847(_83m, true, this))._qpn();break;case "cmdEditExternalAPIProperties":var _83m=_erh._vtc();(new _ol(_83m, true, this))._xfn();break;default:_gem( "_urc(" + cmdid + ")" ); } };_mv9._fg4=function(_h7k,_t2k,_zdf){if(_zdf==_4qn._ll8){if(_t2k.getAttribute( "idsLabel" )=="IDS_LBL_APP_ADD_VARIABLE" ){this._urc("cmdCreateNewAppVariable");}if(_t2k.getAttribute( "idsLabel" )=="IDS_LBL_APP_MANAGE_EXTERNAL_VARS" ){this._urc("cmdEditExternalAPIProperties");}if(_t2k.getAttribute("addVariableValue")){var _83m=_erh._vtc();var _brf=_t2k.getAttribute("addVariableValue");var _udh=_t2k.getAttribute("appControl");var _79k=_t2k.getAttribute("dataItem");_8fm._jgn( "_j57", _83m, "operation", null, _brf, _udh, _79k );}}var _bon=_t2k.getAttribute("iid");if(_bon){var n=_erh._9kl(_bon);if(!_heb._t97().has(n.nodeName)){return;}_8aj._6sc(n, true);_8l8._axc([_bon], true);_38g._g0n._yem(_bon);_ypn._9sc();}};
|