This commit is contained in:
dineshkumarkannan 2018-08-18 13:06:41 +05:30
commit d30fc0ba15

View File

@ -540,7 +540,7 @@ $scope.disableSendButton = true;
swal(" ", response.data.message, "success"); swal(" ", response.data.message, "success");
// swal(" ", "Status added successfully.", "success"); // swal(" ", "Status added successfully.", "success");
$scope.initgroup() $scope.initgroup()
$state.go($state.current, {}, { reload: true }); //$state.go($state.current, {}, { reload: true });
} }
else else
{ {
@ -897,7 +897,8 @@ if(group == '')
swal(" ", response.data.message, "success"); swal(" ", response.data.message, "success");
// swal(" ", "Status added successfully.", "success"); // swal(" ", "Status added successfully.", "success");
$scope.initgroup() $scope.initgroup()
$state.go($state.current, {}, { reload: true }); myModel.GroupName = '';
// $state.go($state.current, {}, { reload: true });
} else { } else {
swal(" ", response.data.message, "error"); swal(" ", response.data.message, "error");