mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-08-23 07:15:50 -04:00
Use window.location = "url" instead of window.location.reload() so
that we pop back up to the top of the page so that you see the status message. Fixes #1676.
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
dataType: "json",
|
||||
success: function(data) {
|
||||
if (data.reload) {
|
||||
window.location.reload();
|
||||
window.location = "<? url::site("/admin/modules") ?>";
|
||||
} else {
|
||||
$("body").append('<div id="g-dialog">' + data.dialog + '</div>');
|
||||
$("#g-dialog").dialog({
|
||||
|
||||
Reference in New Issue
Block a user