Commit 67fdb580 authored by Prayas Jain's avatar Prayas Jain

Fixed Date issue in Update Team Details

parent 53bb7629
...@@ -1782,7 +1782,6 @@ myApp.controller("projectController", function ($scope,uiGridConstants, myFactor ...@@ -1782,7 +1782,6 @@ myApp.controller("projectController", function ($scope,uiGridConstants, myFactor
$timeout(function () { $timeout(function () {
getProjectDetails($scope.projectId, $scope.status); getProjectDetails($scope.projectId, $scope.status);
}, 500); }, 500);
}
$mdDialog.show($mdDialog.alert({ $mdDialog.show($mdDialog.alert({
skipHide: true, skipHide: true,
textContent: response.data.message , textContent: response.data.message ,
...@@ -1790,6 +1789,10 @@ myApp.controller("projectController", function ($scope,uiGridConstants, myFactor ...@@ -1790,6 +1789,10 @@ myApp.controller("projectController", function ($scope,uiGridConstants, myFactor
})).then(function () { })).then(function () {
$scope.myForm.$setPristine(); $scope.myForm.$setPristine();
}) })
}else{
$scope.alertMsg=response.data.message;
}
// $scope.objectId = response.data.id; // $scope.objectId = response.data.id;
}, function myError(response){ }, function myError(response){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment