src/widgets/Segments.js
branchnew-model
changeset 925 28efc97b5d78
parent 924 64c2eaafe5e2
child 926 e47ed8eb75cd
--- a/src/widgets/Segments.js	Thu Jul 05 19:08:13 2012 +0200
+++ b/src/widgets/Segments.js	Fri Jul 06 18:13:32 2012 +0200
@@ -74,7 +74,7 @@
 IriSP.Widgets.Segments.prototype.onSearch = function(searchString) {
     this.searchString = typeof searchString !== "undefined" ? searchString : '';
     var _found = 0,
-        _re = IriSP.Model.regexpFromTextOrArray(searchString);
+        _re = IriSP.Model.regexpFromTextOrArray(searchString, true);
     if (this.searchString) {
         this.$segments.each(function() {
             var _el = IriSP.jQuery(this);