Commit 443ced67 authored by wansari's avatar wansari

F17BBAS001 updated JS for Pophelp JSP path


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@105895 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 5f6e575d
...@@ -37,14 +37,16 @@ function getListOfValues(fieldName,fieldId,siteCode) ...@@ -37,14 +37,16 @@ function getListOfValues(fieldName,fieldId,siteCode)
var addObjName = "&OBJ_NAME=gstreco_wiz"; var addObjName = "&OBJ_NAME=gstreco_wiz";
if(isContextChanged == "true") url = "/ibase/webitm/jsp/PopUp.jsp?FIELDNAME="+escape(fieldName)+"&KEYSTRING=NULL"+addObjName;
/*if(isContextChanged == "true")
{ {
url = "webitm/jsp/PopUp.jsp?FIELDNAME="+escape(fieldName)+"&KEYSTRING=NULL"+addObjName; url = "webitm/jsp/PopUp.jsp?FIELDNAME="+escape(fieldName)+"&KEYSTRING=NULL"+addObjName;
} }
else else
{ {
url = "PopUp.jsp?FIELDNAME="+escape(fieldName)+"&KEYSTRING=NULL"+addObjName; url = "PopUp.jsp?FIELDNAME="+escape(fieldName)+"&KEYSTRING=NULL"+addObjName;
} }*/
var fullwidth = eval(screen.width)/2-130; var fullwidth = eval(screen.width)/2-130;
var iFrame = '<iframe id="popHelpIframe" name ="popHelpIframe" src="'+url+'" style = "width:'+fullwidth+'; height: 100%; border: 0px; bottom:0%;"></iframe>'; var iFrame = '<iframe id="popHelpIframe" name ="popHelpIframe" src="'+url+'" style = "width:'+fullwidth+'; height: 100%; border: 0px; bottom:0%;"></iframe>';
...@@ -68,8 +70,7 @@ function assignValue(value) ...@@ -68,8 +70,7 @@ function assignValue(value)
function closeMe() function closeMe()
{ {
//document.getElementById("popHelpContainer").style.display='none'; document.getElementById("popHelpContainer").style.display='none';
document.getElementById("popHelpContainer").style.visibility='hidden';
document.getElementById("popHelpContainer").innerHTML = ''; document.getElementById("popHelpContainer").innerHTML = '';
var overlay = document.getElementById( "overlay" ); var overlay = document.getElementById( "overlay" );
overlay.removeAttribute('style'); overlay.removeAttribute('style');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment