ndt-dev - [ndt-dev] [ndt] r965 committed - Fix for Issue 127.
Subject: NDT-DEV email list created
List archive
- From:
- To:
- Subject: [ndt-dev] [ndt] r965 committed - Fix for Issue 127.
- Date: Fri, 28 Feb 2014 18:55:47 +0000
Revision: 965
Author:
Date: Fri Feb 28 18:55:34 2014 UTC
Log: Fix for Issue 127.
http://code.google.com/p/ndt/source/detail?r=965
Modified:
/branches/Issue127/flash-client/src/NDTUtils.as
=======================================
--- /branches/Issue127/flash-client/src/NDTUtils.as Fri Feb 21 08:01:33 2014 UTC
+++ /branches/Issue127/flash-client/src/NDTUtils.as Fri Feb 28 18:55:34 2014 UTC
@@ -112,12 +112,18 @@
}
try {
- Main.ndt_description = ExternalInterface.call("getNDTDescription");
- TestResults.appendDebugMsg(
- "Initialized NDT description from JavaScript:"
+ var ndt_description:String =
+ ExternalInterface.call("getNDTDescription");
+ if (ndt_description) {
+ Main.ndt_description = ndt_description;
+ TestResults.appendDebugMsg(
+ "Initialized NDT description from JavaScript. " +
+ "NDT description: "
+ Main.ndt_description);
+ }
} catch(e:Error) {
- Main.ndt_description = NDTConstants.NDT_DESCRIPTION;
+ TestResults.appendDebugMsg("Bad Flash permissions: No "
+ + "access to javascript.");
}
}
- [ndt-dev] [ndt] r965 committed - Fix for Issue 127., ndt, 02/28/2014
Archive powered by MHonArc 2.6.16.