Fixes for dlux
[unimgr.git] / dlux / cpeui / cpeui-module / src / main / resources / cpeui / tenantsTable.controller.js
index f4fee41345e0ce664e0a1221e81a44fc473aa0dd..7277551600c5d9afd7adc9296fe20570669ac320 100644 (file)
@@ -10,15 +10,15 @@ define([ 'app/cpeui/cpeui.module' ], function(cpeui) {
       });
     }
 
-    $scope.AddTenant = function(serviceType) {
-      CpeuiSvc.addTenant($scope.tenantId, serviceType, function() {
+    $scope.AddTenant = function() {
+      CpeuiSvc.addTenant($scope.tenantId, function() {
         $scope.updateTenantView();
       });
     };
 
     $scope.tenantDialog = new CpeuiDialogs.Dialog('AddTenant', {},
         function(obj) {
-          CpeuiSvc.addTenant(obj.id, obj.service_type, function() {
+          CpeuiSvc.addTenant(obj.id, function() {
             $scope.updateTenantView();
           });
         });