Moved document.ready functions to initThisPage, which will recreate the track table when a new album version is selected (fixes issue with css not loading properly

This commit is contained in:
rembo10
2012-08-15 16:13:37 +05:30
parent b6a7ad1c9f
commit df64f7fd91

View File

@@ -168,7 +168,7 @@
getInfo(elem,id,'album');
}
$(document).ready(function() {
function initThisPage() {
$('#album_chooser').click(function() {
$('#dialog').dialog();
return false;
@@ -187,8 +187,13 @@
"aaSorting": [],
"bFilter": false,
"bInfo": false,
"bPaginate": false
});
"bPaginate": false,
"bDestroy": true
});
};
$(document).ready(function() {
initThisPage();
});
</script>