summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortkellner <tkellner@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2012-07-30 15:10:15 +0000
committertkellner <tkellner@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2012-07-30 15:10:15 +0000
commitdb078ad2faf9204a4dcfab3a8eec4161f74d8ca9 (patch)
treea5cba4ffc935b10a0d47ba1a25ae19f2db441c29
parent529c37ac4662c4b5a52ba1c43584c0342afc8aa3 (diff)
downloadmocca-db078ad2faf9204a4dcfab3a8eec4161f74d8ca9.tar.gz
mocca-db078ad2faf9204a4dcfab3a8eec4161f74d8ca9.tar.bz2
mocca-db078ad2faf9204a4dcfab3a8eec4161f74d8ca9.zip
ActiveXObject debugging
git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@1118 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4
-rw-r--r--BKUOnline/src/main/webapp/js/deployJava.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/BKUOnline/src/main/webapp/js/deployJava.js b/BKUOnline/src/main/webapp/js/deployJava.js
index 2636186c..df6c8449 100644
--- a/BKUOnline/src/main/webapp/js/deployJava.js
+++ b/BKUOnline/src/main/webapp/js/deployJava.js
@@ -876,6 +876,9 @@ var deployJava = {
try {
return (new ActiveXObject(objectName) != null);
} catch (exception) {
+ if (deployJava.debug) {
+ alert("ActiveXObject exception " + exception.name + ": " + exception.message);
+ }
return false;
}
},