Commit 6261e6fb authored by vkadam's avatar vkadam

Change in JS [F15ESUN001]


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@98580 ce508802-f39f-4f6c-b175-0d175dae99d5
parent d38f0e1f
......@@ -76,6 +76,11 @@
var mainattachmentContainer = document.getElementById("fileViewer");
var docNames = documents.split(",");
var tempVar=docNames[0];
if(tempVar.trim().length>0)
{
for (var inc = 0; inc < docNames.length; inc++ )
{
var iFrame = "<div id='viewerHeader" + inc + "' class='viewerHeader' >" +
......@@ -96,9 +101,10 @@
document.getElementById("att-iframe"+inc).srcdoc = "<p>You cannot view this file on browser.</p>";
}
}
}
viewAttachloading( false );
}
function downloadDoc( docRefId, inc )
{
......
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