Commit 63eb163f authored by prumde's avatar prumde

Minor Changes

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@174760 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 9fd2b8a0
...@@ -223,9 +223,14 @@ function getImagePluginUI(data, caller, callback) ...@@ -223,9 +223,14 @@ function getImagePluginUI(data, caller, callback)
var pWindow = window; var pWindow = window;
if (! window.e12plugin) if (! window.e12plugin)
{ {
console.log(' window.e12plugin not loaded');
pWindow = window.parent; pWindow = window.parent;
// Changed by Abhishek T on 23-Feb-17 [For checking plugin defination is present or not in current browser document] START // Changed by Abhishek T on 23-Feb-17 [For checking plugin defination is present or not in current browser document] START
if (! pWindow.e12plugin) return null; if (! pWindow.e12plugin)
{
console.log('parent Window.e12plugin not loaded');
return null;
}
// Changed by Abhishek T on 23-Feb-17 [For checking plugin defination is present or not in current browser document] END // Changed by Abhishek T on 23-Feb-17 [For checking plugin defination is present or not in current browser document] END
} }
...@@ -253,7 +258,7 @@ function getImagePluginUI(data, caller, callback) ...@@ -253,7 +258,7 @@ function getImagePluginUI(data, caller, callback)
attchPlugin.requestImagesArray(function(imgArr) { attchPlugin.requestImagesArray(function(imgArr) {
console.log("On requestImageArray : caller >> imgArr["+imgArr+"][" + Object.keys(caller) + "] "); console.log("On requestImageArray : caller >> imgArr["+imgArr+"][" + Object.keys(caller) + "] ");
console.log("callback >> [" + callback + " = " + caller[callback] + "] "); //console.log("callback >> [" + callback + " = " + caller[callback] + "] ");
try try
{ {
caller[callback](imgArr); caller[callback](imgArr);
...@@ -262,19 +267,12 @@ function getImagePluginUI(data, caller, callback) ...@@ -262,19 +267,12 @@ function getImagePluginUI(data, caller, callback)
{ {
console.log(' caller[callback]()' + e); console.log(' caller[callback]()' + e);
} }
/*
for (var i in imgArr) {
var img = imgArr[i];
img.classList.add('_image');
container.appendChild(img);
}
*/
}); });
} }
catch (ex) catch (ex)
{ {
window.alert("Exception in getImagePluginUI() : " + ex); console.log("Exception in getImagePluginUI() : " , ex);
} }
} }
......
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