_4zm.js 2.8 KB

123456
  1. // Licensed Materials - Property of IBM
  2. // IBM Cognos Products: rs
  3. // (C) Copyright IBM Corp. 2003, 2022.
  4. // US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  5. var _4zm=new _lcm("_4zm");_4zm._jgn=function(_8rm){this._0jm=_8rm;this._4le();};_4zm._5z2=function(){this._y2n=new _pgk(this._2oh("divList"), _frh._53g("EmptyList"), this);var _m4m=this._0jm.selectNodes('notes/note');for(var i=0; i<_m4m.length; i++){var _mzj=this._y2n._767();_mzj.setAttribute("smallIcon", "note.gif");_mzj.setAttribute("label", this._qbg(_m4m.item(i), true));_mzj.appendChild(_m4m.item(i).cloneNode(true));}this._u7d();this._y2n._wfn();};_4zm._o46=function(){this._y2n._fdm();delete this._y2n;delete this._0jm;delete this._fed;this._fed=null;};_4zm._bgn=function(){_erh._ybb();_8qn._cqh(this._0jm, "notes");var _m9h=this._y2n._tfe();for(var i=0; i<_m9h.length; i++){var _5sm=_erh._h56(this._0jm, "notes");_5sm.appendChild(_m9h.item(i).selectSingleNode("note"));}if(this._fed){_8l8._axc([this._fed.getAttribute("iid")], false);}_erh._iee(true);this._3le();};_4zm._0qh=function(){_zgk._5je(true);_zgk._vll(true);_zgk._z5g(false);_zgk._jgn( this._xp9(), "", _frh._c6j( "IDS_PROP_TEXT" ), _frh._c6j( "IDS_MSG_NEWNOTE" ), this );};_4zm._io9=function(_e5m){this._fed=_n0n._dnh(this._0jm, _zgk._fkl());var _6jf=this._y2n._767();var _y1k=this._y2n._885();if(_y1k){_y1k.setAttribute("selected","false");_6jf.parentNode.removeChild(_6jf);_y1k.parentNode.insertBefore(_6jf, _y1k.nextSibling);}_6jf.setAttribute("smallIcon", "note.gif");_6jf.setAttribute("label", this._qbg(this._fed, true));_6jf.appendChild(this._fed);this._u7d();this._y2n._wfn();};_4zm._ovc=function(){var _y1k=this._y2n._885();if(_y1k){if(_y1k.nextSibling){_y1k.nextSibling.setAttribute("selected","true");}else if(_y1k.previousSibling){_y1k.previousSibling.setAttribute("selected","true");}_y1k.parentNode.removeChild(_y1k);this._u7d();this._y2n._wfn();}};_4zm._d7j=function(){var _y1k=this._y2n._885();var _72m=_y1k.previousSibling;_y1k.parentNode.insertBefore(_y1k.parentNode.removeChild(_y1k), _72m);this._u7d();this._y2n._wfn();};_4zm._q4g=function(){var _y1k=this._y2n._885();var _72m=_y1k.nextSibling;_y1k.parentNode.insertBefore(_y1k.parentNode.removeChild(_y1k), _72m.nextSibling);this._u7d();this._y2n._wfn();};_4zm._pe4=function(_a6k,_mzj,_zdf){this._u7d();};_4zm._qbg=function(_r9n,_7rj){var _men="";var _jmf=_r9n.selectNodes(".//chartTextItem/dataSource");for(var i=0; i<_jmf.length; i++){_men+= _7th._j22(_jmf.item(i));}if(_men==""){_men=_frh._c6j("IDS_EMPTY_LISTVIEW");}else if(_men.length>20&&_7rj){_men=_cgm._hkk(_men, 20);}return _men;};_4zm._u7d=function(){var _y1k=this._y2n._885();this._pj8("btnDelete", _y1k);this._pj8("btnUp", _y1k&&_y1k.previousSibling);this._pj8("btnDown", _y1k&&_y1k.nextSibling);};