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_Framework={};G_Framework.F_Init=function(){this._hW72=G_HAL.M_oLibraries["hal"]["isApplication"];if(this._hW72){var d=document;d.ondragstart=U_DOM.F_CancelEvent;this._h68=d.oncontextmenu;d.oncontextmenu=this._hS11;window.s_IdCurrentTextBox="";window.onselect=this._h7Y1;}};G_Framework.F_SetActiveElement=function(el){window.h_elActiveElement=null;window.h_elActiveElement=el;if(window.h_elActiveElement.uniqueID!=window.s_IdCurrentTextBox){G_Framework.F_ResetCurrentTextBox();}};G_Framework.F_OnTextBoxBlur=function(e){if(U_DOM.F_IsTextBoxOrTextArea(e.target)){setTimeout(G_Framework.F_ResetCurrentTextBox.bind(G_Framework), 1);}};G_Framework.F_ResetCurrentTextBox=function(){window.s_IdCurrentTextBox="";};G_Framework._h7Y1=function(e){if(G_BrowserInfo.M_bIsIE){if(!U_DOM.F_IsSelectable(e.target)){U_DOM.F_ClearSelection();}return;}if(e.target!=document){window.s_IdCurrentTextBox=e.target.uniqueID;}};G_Framework._hS11=function(e){if(U_DOM.F_HandleContextMenu(e)){if(this._h68){this._h68(e);}return;}return false;};
|