From 5364894833e0fc5b394174952f1662d5449a3d07 Mon Sep 17 00:00:00 2001 From: Naomi Aro Date: Thu, 23 Feb 2012 23:12:30 +0100 Subject: [PATCH] CC-3174 : showbuilder don't want to select empty rows anymore. --- airtime_mvc/public/js/airtime/showbuilder/builder.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/airtime_mvc/public/js/airtime/showbuilder/builder.js b/airtime_mvc/public/js/airtime/showbuilder/builder.js index 8ade81a30..7e607e45a 100644 --- a/airtime_mvc/public/js/airtime/showbuilder/builder.js +++ b/airtime_mvc/public/js/airtime/showbuilder/builder.js @@ -397,6 +397,7 @@ $(document).ready(function() { //don't select separating rows, or shows without privileges. if ($(node).hasClass("sb-header") || $(node).hasClass("sb-footer") + || $(node).hasClass("sb-empty") || $(node).hasClass("sb-not-allowed")) { return false; } @@ -438,7 +439,7 @@ $(document).ready(function() { if ($(this).is(":checked")) { var allowedNodes; - allowedNodes = oTable.find('tr:not(:first, .sb-header, .sb-footer, .sb-not-allowed)'); + allowedNodes = oTable.find('tr:not(:first, .sb-header, .sb-empty, .sb-footer, .sb-not-allowed)'); allowedNodes.each(function(i, el){ oTT.fnSelect(el);