Commit 99e71c91 authored by nsawalakhe's avatar nsawalakhe

added code to remove frame container if exists.


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@101672 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 6b9bcad4
...@@ -62,6 +62,13 @@ function createFusionChart(jsonObj, containerId, chartContainer,width,height,ima ...@@ -62,6 +62,13 @@ function createFusionChart(jsonObj, containerId, chartContainer,width,height,ima
/* Add 3 function for create dyanamic div for compliance Dashboard By Dhanendra On 28MAy2015 */ /* Add 3 function for create dyanamic div for compliance Dashboard By Dhanendra On 28MAy2015 */
function outerDiv(outerDivId,type, cssName) function outerDiv(outerDivId,type, cssName)
{ {
/*added code to remove frame container if exists on change of view by SWATI on 09 May 2016*/
var elem = document.getElementById("frameContainerDiv");
if(elem!==null)
{
elem.parentNode.removeChild(elem);
}
/*Ended code to remove frame container if exists on change of view by SWATI on 09 May 2016*/
var outerDiv = document.createElement('div'); var outerDiv = document.createElement('div');
outerDiv.id = outerDivId+"Div"; outerDiv.id = outerDivId+"Div";
if(cssName == null) if(cssName == null)
...@@ -196,4 +203,3 @@ function FC_Exported(objRtn) ...@@ -196,4 +203,3 @@ function FC_Exported(objRtn)
alert("The chart with DOM Id " + objRtn.DOMId + " could not be saved on server. There was an error. Description : " + objRtn.statusMessage); alert("The chart with DOM Id " + objRtn.DOMId + " could not be saved on server. There was an error. Description : " + objRtn.statusMessage);
} }
} }
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