CC-3174 : showbuilder

don't want to select empty rows anymore.
This commit is contained in:
Naomi Aro 2012-02-23 23:12:30 +01:00
parent e0134ed6d1
commit 5364894833
1 changed files with 2 additions and 1 deletions

View File

@ -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);