From 91cc874c62265e8211d59e961ae196b3ed58a0bb Mon Sep 17 00:00:00 2001 From: gayathri1990 Date: Fri, 24 Aug 2018 10:57:31 +0530 Subject: [PATCH] batchshedule changes --- Apollo/assets/js/controllers/schCtrl.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Apollo/assets/js/controllers/schCtrl.js b/Apollo/assets/js/controllers/schCtrl.js index 77ee7714..440c91f9 100755 --- a/Apollo/assets/js/controllers/schCtrl.js +++ b/Apollo/assets/js/controllers/schCtrl.js @@ -206,6 +206,7 @@ app.controller('schCtrl', ["$scope","$rootScope","toaster", "$filter", "ngTableP "ScheduleDate":"", "ScheduleStartTime":"", "ScheduleEndTime":"" + });// For Main Dropdown }); @@ -220,7 +221,8 @@ app.controller('schCtrl', ["$scope","$rootScope","toaster", "$filter", "ngTableP },function(error){ $scope.semDropDownShowLoading = false; - swal('Already Exist','','error'); + swal(error.data.message,'','error'); + $state.go($state.current, {}, {reload: true}); } );