Permalink
Browse files

Some fixes for rule buttons

  • Loading branch information...
tonytomov committed Jun 18, 2011
1 parent 79cc5e0 commit 051d76db51549e80c76789333527a4a99330f1b9
Showing with 2 additions and 2 deletions.
  1. +2 −2 js/grid.filter.js
View
@@ -200,7 +200,7 @@ $.fn.jqFilter = function( arg ) {
var th = $("<th colspan='5' align='left'></th>");
tr.append(th);
- if(this.p.ruleButtons) {
+ if(this.p.ruleButtons === true) {
// dropdown for: choosing group operator type
var groupOpSelect = $("<select class='opsel'></select>");
th.append(groupOpSelect);
@@ -240,7 +240,7 @@ $.fn.jqFilter = function( arg ) {
});
}
th.append(inputAddSubgroup);
- if(this.p.groupButtons) {
+ if(this.p.ruleButtons === true) {
// button for adding a new rule
var inputAddRule = $("<input type='button' value='+' title='Add rule' class='add-rule ui-add'/>"), cm;
inputAddRule.bind('click',function() {

0 comments on commit 051d76d

Please sign in to comment.