aboutsummaryrefslogtreecommitdiffstats
path: root/demo-ui/app/controllers
diff options
context:
space:
mode:
authorSteven Saunders <steve@sentosatech.com>2015-12-16 14:31:40 -0700
committerSteven Saunders <steve@sentosatech.com>2015-12-16 14:33:44 -0700
commit754851249b5722222a84e5a821f6edea095e72e7 (patch)
tree72f1abf438e8fb877ebf0be5aa65e2a2c56888fc /demo-ui/app/controllers
parentb123b74d81d20efbb594db5eb1fb17ed79953c58 (diff)
make create, delete, get work with new topology based REST callsHEADstable/brahmaputramaster
Change-Id: Iad6fa28971ad61003d34ed38ab2e2d8647dc31bd Signed-off-by: Steven Saunders <steve@sentosatech.com>
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