Merge pull request #726 from AndreasK79/reload_disable_on_save_qso

[Edit QSO] Disabled reload of page when editing and saving QSO while …
pull/729/head
Peter Goodhall 2020-12-02 16:39:57 +00:00 zatwierdzone przez GitHub
commit c1b0d49ae7
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -1875,7 +1875,7 @@ $(document).ready(function(){
success: function (dataofconfirm) {
$(".edit-dialog").modal('hide');
$(".qso-dialog").modal('hide');
<?php if ($this->uri->segment(1) != "search" && $this->uri->segment(2) != "filter") { ?>location.reload();<?php } ?>
<?php if ($this->uri->segment(1) != "search" && $this->uri->segment(2) != "filter" && $this->uri->segment(1) != "qso") { ?>location.reload();<?php } ?>
},
error: function(xhr, status, error) {
console.log(xhr.responseText);