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