aboutsummaryrefslogtreecommitdiffstats
path: root/demo-ui/app/controllers
diff options
context:
space:
mode:
Diffstat (limited to 'demo-ui/app/controllers')
-rw-r--r--demo-ui/app/controllers/MefController.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/demo-ui/app/controllers/MefController.js b/demo-ui/app/controllers/MefController.js
index 9d89589..fd615de 100644
--- a/demo-ui/app/controllers/MefController.js
+++ b/demo-ui/app/controllers/MefController.js
@@ -31,11 +31,11 @@ var MefController = function($scope, $log, mefServices, model, dbg ) {
$scope.uniToSpeedString = function(uni) {
if (uni) {
- speed = uni.uni[0].speed;
- return Object.getOwnPropertyNames(speed)[0];s
+ speed = uni.node[0]["cl-unimgr-mef:speed"];
+ return Object.getOwnPropertyNames(speed)[0];
}
else
- return "";
+ return "error: no uni supplied";
}
//
// HTTP Response Handlers