From ad6b07357fcc7570bbbfc591d3fae71314fc845c Mon Sep 17 00:00:00 2001 From: calzoneman Date: Wed, 16 Oct 2013 23:31:48 -0500 Subject: [PATCH] Change the place where queuefail errors appear --- changelog | 5 +++++ www/assets/css/ytsync.css | 9 +++++++++ www/assets/js/callbacks.js | 2 +- www/channel.html | 4 ++++ 4 files changed, 19 insertions(+), 1 deletion(-) diff --git a/changelog b/changelog index 6d0f661c..500c75ab 100644 --- a/changelog +++ b/changelog @@ -1,3 +1,8 @@ +Wed Oct 16 23:29 2013 CDT + * www/assets/js/callbacks.js, www/channel.html, + www/assets/css/ytsync.css: Make queuefail errors always show in + a consistently visible location. + Wed Oct 16 23:21 2013 CDT * www/assets/js/util.js: Add an errDialog function that shows an error message over the chatbox (instead of alert()) diff --git a/www/assets/css/ytsync.css b/www/assets/css/ytsync.css index b0f546a6..7220b4bd 100644 --- a/www/assets/css/ytsync.css +++ b/www/assets/css/ytsync.css @@ -364,3 +364,12 @@ body { #adminflair { margin-left: 3px; } + +#queuefail { + min-height: 0px; +} + +#queuefail .alert { + margin-top: 5px; + margin-bottom: 5px; +} diff --git a/www/assets/js/callbacks.js b/www/assets/js/callbacks.js index 52794891..7de6a716 100644 --- a/www/assets/js/callbacks.js +++ b/www/assets/js/callbacks.js @@ -852,7 +852,7 @@ Callbacks = { } makeAlert("Error", text, "alert-error") .addClass("span12 qfalert") - .insertBefore($("#extended_controls")); + .appendTo($("#queuefail")); }, setTemp: function(data) { diff --git a/www/channel.html b/www/channel.html index ff0668fb..e45c5e5a 100644 --- a/www/channel.html +++ b/www/channel.html @@ -200,6 +200,10 @@ + + +
+