do not reload current page after apikey modification to prevent unwanted actions being executed (addKey)

Signed-off-by: Michael Kaufmann <michael.kaufmann@aixit.com>
This commit is contained in:
Michael Kaufmann
2018-06-22 10:13:48 +02:00
parent d4312fc481
commit 4f69571e1c

View File

@@ -41,7 +41,7 @@ $(document).ready(function() {
dataType: "json", dataType: "json",
success: function(json) { success: function(json) {
$('#dialog-' + id).dialog("close"); $('#dialog-' + id).dialog("close");
location.reload(); location.href = "admin_index.php?s="+sid+"&page="+page;
}, },
error: function(a, b) { error: function(a, b) {
console.log(a, b); console.log(a, b);