1
0
Fork 0
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:
Afterster 2014-08-08 01:36:07 +02:00
parent 1ed9fde59f
commit 49cd42562b
47 changed files with 607 additions and 574 deletions

View file

@ -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) {