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:
2
templates/Sparkle/assets/js/apikey.js
vendored
2
templates/Sparkle/assets/js/apikey.js
vendored
@@ -41,7 +41,7 @@ $(document).ready(function() {
|
||||
dataType: "json",
|
||||
success: function(json) {
|
||||
$('#dialog-' + id).dialog("close");
|
||||
location.reload();
|
||||
location.href = "admin_index.php?s="+sid+"&page="+page;
|
||||
},
|
||||
error: function(a, b) {
|
||||
console.log(a, b);
|
||||
|
||||
Reference in New Issue
Block a user