|
@ -284,7 +284,6 @@ $.fn.dropdown = function(parameters) { |
|
|
fullTextRegExp = new RegExp(searchTerm, 'i'), |
|
|
fullTextRegExp = new RegExp(searchTerm, 'i'), |
|
|
$filteredItems |
|
|
$filteredItems |
|
|
; |
|
|
; |
|
|
console.log(query); |
|
|
|
|
|
$item |
|
|
$item |
|
|
.each(function(){ |
|
|
.each(function(){ |
|
|
var |
|
|
var |
|
@ -351,7 +350,6 @@ $.fn.dropdown = function(parameters) { |
|
|
var |
|
|
var |
|
|
query = $search.val() |
|
|
query = $search.val() |
|
|
; |
|
|
; |
|
|
console.log($search, query); |
|
|
|
|
|
$text.addClass(className.filtered); |
|
|
$text.addClass(className.filtered); |
|
|
module.filter(query); |
|
|
module.filter(query); |
|
|
}, |
|
|
}, |
|
@ -692,7 +690,6 @@ $.fn.dropdown = function(parameters) { |
|
|
? optionText.toLowerCase() |
|
|
? optionText.toLowerCase() |
|
|
: optionText |
|
|
: optionText |
|
|
; |
|
|
; |
|
|
console.log(strict, optionValue, value); |
|
|
|
|
|
if(strict) { |
|
|
if(strict) { |
|
|
module.debug('Ambiguous dropdown value using strict type check', value); |
|
|
module.debug('Ambiguous dropdown value using strict type check', value); |
|
|
if( optionValue === value ) { |
|
|
if( optionValue === value ) { |
|
|