123456 |
- // Licensed Materials - Property of IBM
- // IBM Cognos Products: hal
- // (C) Copyright IBM Corp. 2003, 2017.
- // US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
- var G_ScriptLoader={};G_ScriptLoader._hB82=[];G_ScriptLoader.F_CallFunction=function(_h5W1,_hHJ1,_hKZ,fn){this._hUD2(_h5W1, _hHJ1, _hKZ, null, null, null, fn);this._hGF1();};G_ScriptLoader.F_CallGlobalMethod=function(_h5W1,_hHJ1,_hKZ,_hW32,_hM12){var _hBA2=[];for(var i=5;i<arguments.length;i++){_hBA2.push(arguments[i]);}this._hUD2(_h5W1, _hHJ1, _hKZ, _hW32, _hM12, _hBA2, null);this._hGF1();};G_ScriptLoader.F_CallGlobalMethodWithArgs=function(_h5W1,_hHJ1,_hKZ,_hW32,_hM12,_hBA2){this._hUD2(_h5W1, _hHJ1, _hKZ, _hW32, _hM12, _hBA2, null);this._hGF1();};G_ScriptLoader._hUD2=function(_h5W1, _hHJ1, _hKZ, _hW32, _hM12, _hBA2, fn){this._hB82.push({ _h6W1:_h5W1, _hIJ1:_hHJ1, _hLZ:_hKZ, _hX32:_hW32, _h732:_hM12, _hRB2:_hBA2, _h6F2:fn });};G_ScriptLoader._hGF1=function(){if(!this._hEY1&&this._hB82.length>0){var _h6I=this._hB82.shift();var a=[];if(_h6I._h6W1){a=a.concat(_h6I._h6W1);}if(_h6I._hIJ1){a=a.concat(_h6I._hIJ1);}if(_h6I._hLZ){a=a.concat(_h6I._hLZ);}if(G_HAL.F_GetFilesNotLoaded(a).length==0){G_ScriptLoader._hHF1(_h6I);return;}this._hEY1=true;D_ScriptLoader.F_Show(_h6I);}};G_ScriptLoader._hHF1=function(o){if(o._h6F2){o._h6F2();}else{var _hSB2=window[o._hX32];_hSB2[o._h732].apply(_hSB2, o._hRB2);}this._hEY1=false;this._hGF1();};var D_ScriptLoader=new C_Dialog( "D_ScriptLoader", "dlgScriptLoader", "hal/dialogs/" );D_ScriptLoader.F_Show=function(_h6I){if(!this._hAN){var d=U_XML.F_LoadValidXML( '<resources><dialog id="D_ScriptLoader" initiallyHidden="true" progressDelay="10000" progressCancelDelay="90000" idsLoading="IDS_HAL_TV_LOADING"><dialogHtml><![CDATA[<div/>]]></dialogHtml><externalScripts/><externalResources/><externalStringTables/></dialog></resources>' );this.F_SetDialogResource(d.documentElement);}if(this._hFE2){this._hFE2.parentNode.removeChild(this._hFE2);this._hFE2=null;}this._h27=false;this._h7I=_h6I;var _hLM1=this._hAN;this._hIF1(_hLM1, "externalScript", _h6I._h6W1);this._hIF1(_hLM1, "externalResource", _h6I._hIJ1);this._hIF1(_hLM1, "externalStringTable", _h6I._hLZ);this.M_fnSuper_Show(null);};D_ScriptLoader._hIF1=function(_hLM1,_h4Q1,a){if(a){var n=_hLM1.selectSingleNode( "dialog/" + _h4Q1 + "s" );U_XML.F_RemoveNodes(n, "*");for(var i=0;i<a.length;i++){U_XML.F_AppendChild(n, _h4Q1).setAttribute("src", a[i]);}}};D_ScriptLoader.F_Dialog_OnAfterVisible=function(){this.F_Hide();};D_ScriptLoader.F_Dialog_OnAfterHide=function(){var o=this._h7I;delete this._h7I;G_ScriptLoader._hHF1(o);};
|