Merge branch 'master' of mjesec.ffzg.hr:/git/MojoFacets
authorDobrica Pavlinusic <dpavlin@rot13.org>
Wed, 30 Jun 2010 22:12:46 +0000 (00:12 +0200)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Wed, 30 Jun 2010 22:12:46 +0000 (00:12 +0200)
Conflicts:
templates/all_checkboxes.html.ep

templates/all_checkboxes.html.ep

index e5c9e95..4fcbeff 100644 (file)
@@ -79,7 +79,7 @@ var apply_regex = function(e) {
        var included = 0;
        var excluded = 0;
     $("input[type='checkbox']:not([disabled='disabled'])").each( function(i,element){
-               if ( r.test( this.value ) ) {
+               if ( r.test( v ) ) {
                        $(this).parent().removeClass('excluded').addClass('included');
                        included++;
                } else {