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.
- var _uf2=new _lcm( "_uf2", "dlgAppListColumnVisibility" );_uf2._jgn=function(_m4h){this._xjg=_m4h;this._4le();};_uf2._5z2=function(){var _83m=_dth._ug8(this._xjg);var _jtd=_83m.cloneNode(true);this._ojg=_dth._l7b(_jtd, this._xjg);var _xd2=this._ojg.selectSingleNode("appListColumnProperties");if(_xd2&&_xd2.selectSingleNode("appListColumnVisible")){this._2oh("radBy_Condition").checked=true;}else if(_xd2&&(_xd2.getAttribute("visible")=="false")){this._2oh("radBy_Hidden").checked=true;}else{this._2oh("radBy_Visible").checked=true;}this._sm5();this._u7d();};_uf2._o46=function(){};_uf2._sm5=function(){var _d64=this._ojg.selectSingleNode("appListColumnProperties/appListColumnVisible/appCondition/*");if(_d64){this._2oh("divConditionText").innerHTML=_8aj._f7(_d64);}else{_4qn._1je( this._2oh("divConditionText"), "" );}};_uf2._bgn=function(){_erh._ybb();_8qn._cqh(this._xjg, "appListColumnProperties/appListColumnVisible");_8qn._qt9(this._xjg, "appListColumnProperties", "visible");if(this._2oh("radBy_Condition").checked){var _xd2=_erh._h56(this._xjg, "appListColumnProperties");var _d64=this._ojg.selectSingleNode("appListColumnProperties/appListColumnVisible");_xd2.appendChild(_erh._woh(_d64));}else if(this._2oh("radBy_Hidden").checked){var _xd2=_erh._h56(this._xjg, "appListColumnProperties");_xd2.setAttribute("visible", "false");}else{_8qn._cqh(this._xjg, "appListColumnProperties[not(@*)][not(*)]");}_erh._iee();this._3le();};_uf2._jhe=function(){this._u7d();};_uf2._xjb=function(_kli){_5ml._jll(["_vd5"],function(_vd5){_vd5._ni(this._ojg, "appListColumnVisible", false, _kli);this._sm5();this._u7d();}.bind(this));};_uf2._6f4=function(){var _83m=_dth._ug8(this._ojg);if(!_83m.selectSingleNode("appProperties/appVariables/appVariable")){_67j("IDS_MSG_NO_VARIABLE_FOR_CONDITION");return;}var _y88="appListColumnProperties/appListColumnVisible/appCondition";var _316="dlgAppConditionComparison_appListColumnVisibility";_5ml._jll(["_vd5"],function(_vd5){_8fm._jgn("_vf2",this._xp9(),"IDS_PROP_appListColumnVisibility",_8qn._987(this._ojg, _y88, true),"appConditionAnd","appConditionOr","appConditionNot",_vd5._mo.bind(this, this._ojg),_vd5._m91.bind(this, this._ojg, _316),_vd5._o01.bind(this, this._ojg, _316),_uf2._xjb.bind(this),"dlgBoolExprEditor_appListColumnVisible",true,true,_vd5._ma.bind(this, this._ojg));}.bind(this));};_uf2._u7d=function(){var _qci=!(this._2oh("radBy_Condition").checked&&!this._ojg.selectSingleNode("appListColumnProperties/appListColumnVisible"));this._pj8("btnOK", _qci);this._pj8("btnEdit", this._2oh("radBy_Condition").checked);};
|