From 4c952296479715b916a0ed1b7563c1efc55c93fb Mon Sep 17 00:00:00 2001 From: gandhimathi Date: Fri, 8 Dec 2017 10:58:04 +0530 Subject: [PATCH] course details changes done --- Apollo/assets/js/controllers/statusCtrl.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Apollo/assets/js/controllers/statusCtrl.js b/Apollo/assets/js/controllers/statusCtrl.js index 8ed85959..35d9737f 100644 --- a/Apollo/assets/js/controllers/statusCtrl.js +++ b/Apollo/assets/js/controllers/statusCtrl.js @@ -7,7 +7,6 @@ app.controller("statusCtrl", ["$scope", "toaster", "$filter", "API_POINTS", "$localStorage", "$http", "$state", function ($scope, toaster, $filter, apiPoint, $localStorage, $http, $state) { $scope.myModel = { - "StatusID": "", "StatusName": "", "switchsetting": true @@ -72,7 +71,6 @@ $scope.statusForm = { 'Content-Type': 'application/json' }, data: { - statusID: myModel.StatusID, statusName: myModel.StatusName, status: myModel.switchsetting, createdBy: JSON.parse(localStorage.getItem('localObj')).localUserID @@ -100,7 +98,6 @@ $scope.statusForm = { $scope.myModel = angular.copy($scope.master); form.$setPristine(true); $scope.myModel = { - "StatusID": "", "StatusName": "", "switchsetting": true }; @@ -186,7 +183,7 @@ $scope.statusForm = { ListCode: myModel.ListCode, ListName: myModel.ListName, status: myModel.IsActive, - createdBy: JSON.parse(localStorage.getItem('localObj')).localUserID + updatedBy: JSON.parse(localStorage.getItem('localObj')).localUserID } }; $http(update).then(function (response) {