123456 |
- // Licensed Materials - Property of IBM
- // IBM Cognos Products: irot
- // (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 _j88=new _in8( "_j88", "dlgPadding", "cchl/dialogs/" );_j88._w89=function(_hc4,_2e6,_dy8,_eu3,_cu8,_7w6){this._046=_hp8._e89(_2e6);this._kq8=_cu8||null;this._ip6=_7w6||null;this._1b5(_hc4, _eu3, _dy8);};_j88._rl4=function(){return this._046;};_j88._xl2=function(_e58){var _zo7="padding-"+_e58.toLowerCase();var _uu6=(typeof this._046[_zo7]=="string");var _607=new _l57(this._046[_zo7]);var txt=this._2j6("txt"+_e58);txt.style.backgroundColor=_uu6?"":"transparent";_fe9._fs1(txt, _uu6);txt.value=_607._jh2();txt.onkeypress=_fe9._z9;txt.onchange=_fe9._5f;var _7l7=this._2j6( "cbo" + _e58 + "Unit" )._7l7;_7l7._rm4(_607._898()||"px");_7l7._hk6(_uu6);};_j88._j72=function(){this._xl2("Top");this._xl2("Left");this._xl2("Bottom");this._xl2("Right");};_j88._rk4=function(){this._yo6=new _jq7(this._2j6("cboTopUnit"), null, _4l6._lv5('CCHL_CSSLengthUnits'), this);this._cf5=new _jq7(this._2j6("cboRightUnit"), null, _4l6._lv5('CCHL_CSSLengthUnits'), this);this._7t4=new _jq7(this._2j6("cboBottomUnit"), null, _4l6._lv5('CCHL_CSSLengthUnits'), this);this._826=new _jq7(this._2j6("cboLeftUnit"), null, _4l6._lv5('CCHL_CSSLengthUnits'), this);if(_be9._kl6["hal"]["enableHighContrastMode"]){var _ub9=this._me9.getElementsByTagName("FIELDSET");for(var i=0;i<_ub9.length;i++){var _ha9=_ub9.item(i);_ha9.outerHTML=_ha9.outerHTML.replace(/fieldset/g, 'div');}}};_j88._1o8=function(){if(this._yo6){this._yo6._1o8();delete this._yo6;}if(this._cf5){this._cf5._1o8();delete this._cf5;}if(this._7t4){this._7t4._1o8();delete this._7t4;}if(this._826){this._826._1o8();delete this._826;}};_j88._cz=function(){this._j72();};_j88._122=function(){this._046=null;};_j88._r89=function(){this._x2();this._j72();this._0b5();};_j88._m98=function(){this._x2();this._j72();this._kh3();};_j88._26=function(_e58){var _zo7="padding-"+_e58.toLowerCase();if(typeof this._046[_zo7]!="string"){return;}if(this._2j6("txt"+_e58).value.length>0){var _hy8=_jp8._b95(this._2j6("txt"+_e58).value)._ms7();if(_hy8){this._046[_zo7]=_hy8+this._2j6( "cbo" + _e58 + "Unit" )._7l7._jr7();}else{this._046[_zo7]="";}}else{this._046[_zo7]="";}};_j88._x2=function(){this._26("Top");this._26("Left");this._26("Bottom");this._26("Right");};_j88._lg2=function(_7l7){if(window["event"]&&window["event"].shiftKey){var _hy8=_7l7._jr7();this._yo6._rm4(_hy8);this._cf5._rm4(_hy8);this._7t4._rm4(_hy8);this._826._rm4(_hy8);var txt=document.getElementById( _7l7._dz8().replace( "cbo", "txt" ).replace( "Unit", "" ) );var _hy8=txt.value;this._2j6("txtTop").value=_hy8;this._2j6("txtRight").value=_hy8;this._2j6("txtBottom").value=_hy8;this._2j6("txtLeft").value=_hy8;}};
|