Skip to content

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
if(window.Faceted){if(window.Faceted.RangeWidget){Faceted.RangeWidget.prototype.criteria_body=function(){if(!this.selected.length){return""}var f=this;var c=jQuery("<dd>");var d=jQuery('<span class="faceted-range-criterion">');var g=this.start.val();var a=this.end.val();var b=g+" - "+a;var e=jQuery('<a href="#">[X]</a>');e.attr("id","criteria_"+this.wid+"_");e.attr("title","Remove "+b+" filter");e.click(function(h){f.criteria_remove();return false});d.append(e);jQuery("<span>").text(b).appendTo(d);c.append(d);return c}}if(window.Faceted.TextWidget){Faceted.TextWidget.prototype.criteria_body=function(){if(!this.selected.length){return""}var c=this;var a=jQuery("<dd>");var b=Faceted.Query[this.wid];b=b?b:[];jQuery.each(b,function(){var d=this.toString();if(d.length>0){var e=jQuery('<span class="faceted-text-criterion">');var f=jQuery('<a href="#">[X]</a>');f.attr("id","criteria_"+c.wid+"_"+d);f.attr("title","Remove "+d+" filter");f.click(function(g){c.criteria_remove(d);return false});e.append(f);jQuery("<span>").text(d).appendTo(e);a.append(e)}});return a}}};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.