/* * * File Name : common.js * * Description : This file provides the common javascript functions used for entitlement module. * * Author : Vinoth * Modified By : * Modified Date : * * Copyright (c) 2003 Polaris Software Lab All Rights Reserved. * * This software is the confidential and proprietary information of Polaris Software Lab. * (Confidential Information). You shall not disclose or use Confidential * Information without the express written agreement of Polaris Software Lab. /************************************************************************************************* CHANGE CODE AUTHOR DESCRIPTION DATE CHG001 Udesh.p CHanging language based on UserPersonlization 27/09/2005 CHG003_62679 Maehsh Height changed 04/02/2011 22953_CHG001 Nagarajan.Ka To disable Shift-enter 16/03/2006 26719_CHG001 sushil.behera One more method has been added 17/03/2006 CHG002 Udesh validation added for messagewindow close 05/04/06 7/03/2006 CHG002_01 Udesh Validation is added for the above change 12/04/06 Regression304 Hemalatha For Fixing Regression issue 304 18/09/07 Subhashini Fixing OrbiSolve 333 - GCIF Search Results page 03/10/2007 to have scroll bars, if required Subhashini Making error message window - scrollable one 08/10/2007 if required. Increasing the width of error window CHG32196_BO_14 S.kandasamy Unable to reject a Bulletin Board message 7/3/2008 IUT_118 Ashok 04/02/2011 IUT_198 Ashok Special character issues is handled 09/02/2011 IUT ASHWIN Disable Right click and Shift use 15/02/2011 IUT_228 karthika.v Pop up issue is handled 18/02/2011 IUT_332 karthika.v Allowing space in reject reason popup 18/2/2011 CHG001_65229 Vijayaragavamoorthy disable backspace in disabled text box 09/11/2011 CHG002_65229 Vijayaragavamoorthy enable backspace in text box 02/12/2011 CHG003_65229 Vijayaragavamoorthy disabling scroll bar in GCIF Lookup 02/12/2011 CHG004 Karthika.v SIT_44 - NBAD3.0 fix 18/09/2013 ISSUE_7209 Tamil Deleted corporates not displayed in audit report 16/Dec/2013 ************************************************************************************************* */ var strStyleSheet = ""; /** prasad - start **/ var jsCssName; function globalCSS(cssName){ jsCssName = cssName; } /** prasad - end **/ var reasonWin = null; var searchWin = null; var childWin1=null; var childStatus1=false; //added by sathees 100 var submitFlag=null; // end of add by sathees 100 var childWin2=null; var childStatus2=false; //Added by sushil to set the valid GCIF for validation - 3/17/2006 var enteredGcifByUser=""; /* Function Name : openReasonWindow Description : This function is used to open the reason window for getting the reason for rejection. */ /*This argument is used to call javascript method in jsp form modal dialog window */ var dArgs = {}; //CHG002_65229 Starts var submitFlag = false; function checkSubmitFlag(){ return submitFlag; } function setSubmitFlag(){ submitFlag = true; } //CHG002_65229 End function openReasonWindow() { /* Changes for showModalDialog window and browser capability - selvaraj */ if(window.navigator.appName=="Microsoft Internet Explorer") { if(checkReasonValid) { dArgs.checkReasonValid = checkReasonValid; } //modalDialogWindow("/EntlWeb/jsp/common/ShowModalDialogWindow.jsp?Reason=openReason",150,350,dArgs); messageWin={close:function(){}}; window.showModalDialog("/EntlWeb/jsp/common/ShowModalDialogWindow.jsp?Reason=openReason",dArgs,"dialogHeight:175px;dialogWidth:350px;center:yes;edge:raised;resizable:no;scroll:no;status:no;");//CHG001_62679 }else{ reasonWin = window.open(contxtPath + "/errblank.htm","ReasonWin", "width=400,height=200,top=200,left=300,toolbar=no,titlebar=no,location=no,directories=no,menubar=no,resizable=no,scrollbars=no,status=no") reasonWin.document.writeln(""); reasonWin.document.writeln("
"); reasonWin.document.writeln("