Skip to content

Commit

Permalink
Some fixes for rule buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
tonytomov committed Jun 18, 2011
1 parent 79cc5e0 commit 051d76d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/grid.filter.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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() {
Expand Down

0 comments on commit 051d76d

Please sign in to comment.