Permalink
Browse files

Missed brackets whe n define select in filter

  • Loading branch information...
1 parent a37ce5c commit 89aa173d5fc884fb8aa02f64dfc7c5272c0125f2 @tonytomov committed Apr 11, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 js/grid.filter.js
View
@@ -374,7 +374,7 @@ $.fn.jqFilter = function( arg ) {
var s ="",so="";
for ( i = 0; i < that.p.ops.length; i++) {
if($.inArray(that.p.ops[i].name, op) !== -1) {
- so = rule.op === that.p.ops[i].name ? " selected=selected" : "";
+ so = rule.op === that.p.ops[i].name ? " selected='selected'" : "";
s += "<option value='"+that.p.ops[i].name+"'"+ so+">"+that.p.ops[i].description+"</option>";
}
}

0 comments on commit 89aa173

Please sign in to comment.