|
@@ -1072,9 +1072,11 @@ function removeKontrahenciFromGroup(event){
|
|
|
})
|
|
|
.then(function(result) {
|
|
|
result
|
|
|
- $('#smad-table-KONTRAHENCI form').find(':checkbox').prop('checked', false);
|
|
|
if (result.type == 'success') {
|
|
|
p5UI__notifyAjaxCallback(result);
|
|
|
+ defaultBIAuditLocalStorage();
|
|
|
+ updateTopCounters();
|
|
|
+ $('#smad-table-KONTRAHENCI form').find(':checkbox').prop('checked', false);
|
|
|
resolve(result.msg);
|
|
|
} else {
|
|
|
reject(result.msg);
|
|
@@ -1154,6 +1156,9 @@ function removePracownikFromGroup(event){
|
|
|
result
|
|
|
if (result.type == 'success') {
|
|
|
p5UI__notifyAjaxCallback(result);
|
|
|
+ defaultBIAuditLocalStorage();
|
|
|
+ updateTopCounters();
|
|
|
+ $('#smad-table-PRACOWNICY form').find(':checkbox').prop('checked', false);
|
|
|
resolve(result.msg);
|
|
|
} else {
|
|
|
reject(result.msg);
|
|
@@ -1164,13 +1169,7 @@ function removePracownikFromGroup(event){
|
|
|
},
|
|
|
allowOutsideClick: false
|
|
|
}).then((result) => {
|
|
|
- if (result.value) {
|
|
|
- swal({
|
|
|
- type: 'success',
|
|
|
- title: 'Ajax request finished!',
|
|
|
- html: 'Submitted email: ' + result.value
|
|
|
- })
|
|
|
- }
|
|
|
+
|
|
|
});
|
|
|
|
|
|
}
|