File tree Expand file tree Collapse file tree 2 files changed +11
-6
lines changed
static/javascript/mainApp Expand file tree Collapse file tree 2 files changed +11
-6
lines changed Original file line number Diff line number Diff line change 18
18
$scope . invalidMembers = [ ] ;
19
19
$scope . membersInList = "" ;
20
20
$scope . isMultiAdd = false ;
21
-
22
21
// Remove members
23
22
$scope . multiRemoveResults = [ ] ;
24
23
$scope . membersToRemove = [ ] ;
913
912
$scope . getGroupingInformation ( ) ;
914
913
$scope . syncDestArray = [ ] ;
915
914
}
916
- } ) ;
915
+ } ) . catch ( ( ) => { } ) ;
917
916
}
918
917
919
918
/**
1328
1327
$scope . loading = true ;
1329
1328
clearMemberInput ( $scope . listName ) ;
1330
1329
$scope . getGroupingInformation ( ) ;
1331
- } ) ;
1330
+ } ) . catch ( ( ) => { } ) ;
1332
1331
}
1333
1332
1334
1333
/**
1524
1523
}
1525
1524
}
1526
1525
}
1526
+
1527
1527
// Otherwise, display the result success modal.
1528
1528
$scope . displaySuccessfulGroupResetModal ( ( ( ) => {
1529
1529
if ( results . includeSuccess && results . excludeSuccess ) {
1553
1553
$scope . successfulGroupResetModalInstance = $uibModal . open ( {
1554
1554
templateUrl : "modal/successfulGroupResetModal" ,
1555
1555
scope : $scope ,
1556
- backdrop : "static" ,
1557
- keyboard : false
1556
+ backdrop : true ,
1557
+ keyboard : true
1558
1558
} ) ;
1559
+
1560
+ $scope . successfulGroupResetModalInstance . result . finally ( ( ) => {
1561
+ $scope . loading = true ;
1562
+ $scope . getGroupingInformation ( ) ;
1563
+ } ) . catch ( ( ) => { } ) ;
1559
1564
} ;
1560
1565
1561
1566
/**
Original file line number Diff line number Diff line change 1
1
< html xmlns:th ="http://www.thymeleaf.org " lang ="en ">
2
2
< div class ="modal-header ">
3
3
< h5 class ="modal-title " id ="modal-title "> Grouping Reset Completion</ h5 >
4
- < a class ="close " type ="button " ng-click ="closeResetNotifModal () ">
4
+ < a class ="close " type ="button " ng-click ="closeSuccessfulGroupResetModal () ">
5
5
< span aria-hidden ="true "> ×</ span >
6
6
</ a >
7
7
</ div >
You can’t perform that action at this time.
0 commit comments