Commit 308bfdba authored by smestry's avatar smestry

Updated the js for product wizard upload images


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@103927 ce508802-f39f-4f6c-b175-0d175dae99d5
parent d1b19174
...@@ -843,3 +843,20 @@ ...@@ -843,3 +843,20 @@
//alert("objCurr=====>>"+objCurr); //alert("objCurr=====>>"+objCurr);
setCheckedPopup(objCurr); setCheckedPopup(objCurr);
} }
// Changed by Sneha on 04-11-2016, to add new to upload images [Start]
function uploadImg(objName)
{
var refId = document.getElementById("Detail1.1.item_parnt").value;
if(refId == "")
{
alert("Item Parent found blank. Please enter the value for Item Parent.");
}
else
{
var url = "/ibase/webitm/jsp/ITMAttachmentView.jsp?OBJ_NAME="+objName+"&REF_ID="+refId;
var win = window.open( url, 'Product Details', 'toolbar=no,status=yes,resizable=no,scrollbars=yes,left=100,top=50,width=500,height=550' );
}
}
//Changed by Sneha on 04-11-2016, to add new to upload images [End]
\ No newline at end of file
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