1
0
Fork 0
mirror of https://github.com/Yetangitu/ampache synced 2025-10-05 02:39:47 +02:00

ajax loading thingy added to css, fixed random methods on rightbar and added a default sort to the browse methods

This commit is contained in:
Karl 'vollmerk' Vollmer 2007-09-28 02:18:08 +00:00
parent 9030c16466
commit 705fba8f49
10 changed files with 76 additions and 14 deletions

View file

@ -46,6 +46,10 @@ function ajaxPut(url,source) {
function getContents(http_request) {
// Display the loading doodly
document.getElementById('ajax-loading').style.display = 'block';
if (http_request.readyState == 4) {
if (http_request.status == 200) {
var data = http_request.responseXML;
@ -58,7 +62,7 @@ function getContents(http_request) {
$(newID).update(newContent[i].firstChild.nodeValue);
}
}
document.getElementById('ajax-loading').style.display = 'none';
}
}
}