mirror of
https://github.com/Yetangitu/ampache
synced 2025-10-04 02:09:23 +02:00
fixed ajax requests with invalid session not causing logout
This commit is contained in:
parent
c13392b861
commit
c0f55e26b2
5 changed files with 21 additions and 64 deletions
|
@ -92,6 +92,11 @@ function reload_util(target) {
|
|||
document.getElementById('util_iframe').src = document.getElementById('util_iframe').src;
|
||||
}
|
||||
|
||||
// Log them out
|
||||
function reload_logout(target) {
|
||||
window.location = target;
|
||||
}
|
||||
|
||||
function popup_art(url) {
|
||||
var newwindow;
|
||||
newwindow=window.open(url, "ampache_art", "menubar=no,toolbar=no,location=no,directories=no");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue