SAAS-885, SAAS-857, SAAS-878 - Cosmetic fixes, remove js widget box in preferences

This commit is contained in:
Duncan Sommerville 2015-06-25 14:13:09 -04:00
parent 616cf143d5
commit 6fb9c6a30c
6 changed files with 46 additions and 104 deletions

View file

@ -198,7 +198,7 @@ function buildplaylist(p_url, p_playIndex) {
width = 490;
}
window.resizeTo(width, height);
window.resizeTo(width, height);
});
}
@ -247,6 +247,4 @@ function playOne(uri, mime) {
_playlist_jplayer.setPlaylist(playlist);
_playlist_jplayer.play(0);
}
window.resizeTo(490, 167);
}

View file

@ -143,7 +143,8 @@ function open_show_preview(p_showID, p_showIndex) {
}
function openPreviewWindow(url) {
_preview_window = window.open(url, $.i18n._('Audio Player'), 'width=450,height=100,scrollbars=yes');
// Hardcoding this here is kinda gross, but the alternatives aren't much better...
_preview_window = window.open(url, $.i18n._('Audio Player'), 'width=482,height=110,scrollbars=yes');
return false;
}