mirror of
https://github.com/Yetangitu/ampache
synced 2025-10-03 09:49:30 +02:00
Replace iframe with Ajax page loading :) :)
This commit is contained in:
parent
1ed9fde59f
commit
49cd42562b
47 changed files with 607 additions and 574 deletions
|
@ -101,6 +101,14 @@ function reloadUtil(target) {
|
|||
$('#util_iframe').prop('src', target);
|
||||
}
|
||||
|
||||
function reloadDivUtil(target) {
|
||||
var $util = $("#util_div");
|
||||
$.get(target, function (data, status, xhr) {
|
||||
var $response = $(data);
|
||||
$util.empty().append($response);
|
||||
});
|
||||
}
|
||||
|
||||
// reloadRedirect
|
||||
// Send them elsewhere
|
||||
function reloadRedirect(target) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue