mirror of
https://github.com/prasathmani/tinyfilemanager
synced 2024-06-02 22:12:16 +02:00
When saving options. Exit page.
This commit is contained in:
parent
9aac1d25b8
commit
5334f01d4b
|
@ -3889,7 +3889,7 @@ $isStickyNavBar = $sticky_navbar ? 'navbar-fixed' : 'navbar-normal';
|
|||
let form = $($this);
|
||||
$.ajax({
|
||||
type: form.attr('method'), url: form.attr('action'), data: form.serialize()+"&ajax="+true,
|
||||
success: function (data) {if(data) { window.location.reload();}}
|
||||
success: function (data) {if(data) { window.location= window.location.href.split('?')[0]; }}
|
||||
}); return false;
|
||||
}
|
||||
//Create new password hash
|
||||
|
|
Loading…
Reference in a new issue