Support click and drag to move; add play button; dump channels on exit

This commit is contained in:
calzoneman 2013-03-28 18:51:08 -05:00
parent 25421514d2
commit 546d50f917
8 changed files with 167 additions and 30 deletions

View file

@ -68,7 +68,7 @@ function initCallbacks() {
$("#opt_qopen_allow_playnext").prop("checked", opts.qopen_allow_playnext);
$("#opt_pagetitle").attr("placeholder", opts.pagetitle);
document.title = opts.pagetitle;
$("opt_customcss").val(opts.customcss);
$("#opt_customcss").attr("placeholder", opts.customcss);
$("#customCss").remove();
if(opts.customcss != "") {
$("<link/>").attr("rel", "stylesheet")
@ -82,6 +82,8 @@ function initCallbacks() {
$("#queue_next").attr("disabled", false);
if(opts.qopen_allow_playnext)
$("#play_next").attr("disabled", false);
else if(RANK < Rank.Moderator && !LEADER)
$("#play_next").attr("disabled", true);
rebuildPlaylist();
});