diff --git a/gui/slick/interfaces/default/editShow.tmpl b/gui/slick/interfaces/default/editShow.tmpl
index 22c5a72a..c9c90fd9 100644
--- a/gui/slick/interfaces/default/editShow.tmpl
+++ b/gui/slick/interfaces/default/editShow.tmpl
@@ -3,6 +3,7 @@
#from sickbeard import common
#from sickbeard import exceptions
#from sickbeard import scene_exceptions
+#from sickbeard.blackandwhitelist import *
#set global $title="Edit " + $show.name
#set global $header=$show.name
@@ -170,6 +171,7 @@ Realease Groups:
+
@@ -198,13 +200,26 @@ Realease Groups:
\$('#submit').click(function(){
all_exceptions = []
-
+
\$("#exceptions_list option").each ( function() {
all_exceptions.push( \$(this).val() );
});
\$("#exceptions_list").val(all_exceptions);
-
+
+ var realvalues = [];
+
+ \$('#white option').each(function(i, selected) {
+ realvalues[i] = \$(selected).val();
+ });
+ \$("#whitelist").val(realvalues.join(","));
+
+ realvalues = [];
+ \$('#black option').each(function(i, selected) {
+ realvalues[i] = \$(selected).val();
+ });
+ \$("#blacklist").val(realvalues.join(","));
+
});
\$('#addSceneName').click(function() {
@@ -247,8 +262,45 @@ Realease Groups:
\$("#SceneException").show();
}
- \$(this).toggle_SceneException();
-
+ \$(this).toggle_SceneException();
+
+ \$('#removeW').click(function() {
+ return !\$('#white option:selected').remove().appendTo('#pool');
+ });
+ \$('#addW').click(function() {
+ return !\$('#pool option:selected').remove().appendTo('#white');
+ });
+ \$('#addB').click(function() {
+ return !\$('#pool option:selected').remove().appendTo('#black');
+ });
+ \$('#removeP').click(function() {
+ return !\$('#pool option:selected').remove();
+ });
+ \$('#removeB').click(function() {
+ return !\$('#black option:selected').remove().appendTo('#pool');
+ });
+
+ \$('#addToWhite').click(function() {
+ var group = \$('#addToPoolText').attr("value")
+ if(group == "")
+ return
+ \$('#addToPoolText').attr("value", "")
+ var option = \$("