Skip to content

Commit

Permalink
Add type="button" to buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
mistic100 committed May 11, 2014
1 parent 2a3efba commit 527fd15
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions query-builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -888,9 +888,9 @@
<label class="btn btn-xs btn-primary"><input type="radio" name="'+ group_id +'_cond" value="OR"> '+ this.lang.or_condition +'</label> \
</div> \
<div class="btn-group pull-right"> \
<button class="btn btn-xs btn-success" data-add="rule"><i class="glyphicon glyphicon-plus"></i> '+ this.lang.add_rule +'</button> \
<button class="btn btn-xs btn-success" data-add="group"><i class="glyphicon glyphicon-plus-sign"></i> '+ this.lang.add_group +'</button> \
<button class="btn btn-xs btn-danger" data-delete="group"><i class="glyphicon glyphicon-remove"></i> '+ this.lang.delete_group +'</button> \
<button type="button" class="btn btn-xs btn-success" data-add="rule"><i class="glyphicon glyphicon-plus"></i> '+ this.lang.add_rule +'</button> \
<button type="button" class="btn btn-xs btn-success" data-add="group"><i class="glyphicon glyphicon-plus-sign"></i> '+ this.lang.add_group +'</button> \
<button type="button" class="btn btn-xs btn-danger" data-delete="group"><i class="glyphicon glyphicon-remove"></i> '+ this.lang.delete_group +'</button> \
</div> \
</dt> \
<dd class=rules-group-body> \
Expand All @@ -909,7 +909,7 @@
<li id='+ rule_id +' class="rule-container"> \
<div class="rule-header"> \
<div class="btn-group pull-right"> \
<button class="btn btn-xs btn-danger" data-delete="rule"><i class="glyphicon glyphicon-remove"></i> '+ this.lang.delete_rule +'</button> \
<button type="button" class="btn btn-xs btn-danger" data-delete="rule"><i class="glyphicon glyphicon-remove"></i> '+ this.lang.delete_rule +'</button> \
</div> \
</div> \
<div class="rule-filter-container">'+ this.getRuleFilterSelect(rule_id) +'</div> \
Expand Down

0 comments on commit 527fd15

Please sign in to comment.