Commit 326a05a7 authored by cmahajan's avatar cmahajan

Added code to remove frame container if exists on click of card view


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@102685 ce508802-f39f-4f6c-b175-0d175dae99d5
parent b5d6abc7
...@@ -203,3 +203,21 @@ function FC_Exported(objRtn) ...@@ -203,3 +203,21 @@ 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);
} }
} }
/*Added code to remove frame container if exists on click of card view by Chetan on 17 June 2016*/
function createGridFrameContainer()
{
var elem = document.getElementById("frameContainerDiv");
if(elem!==null)
{
elem.parentNode.removeChild(elem);
}
var outerDiv = document.createElement('div');
outerDiv.id = "frameContainerDiv";
var iDiv = document.createElement('div');
iDiv.id = "frameContainer";
outerDiv.appendChild(iDiv);
document.getElementById('chartContainer').appendChild(outerDiv);
}
/*Ended code to remove frame container if exists on click of card view by Chetan on 17 June 2016*/
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