|
@ -634,7 +634,6 @@ $.fn.dropdown = function(parameters) { |
|
|
apiSettings = { |
|
|
apiSettings = { |
|
|
errorDuration : false, |
|
|
errorDuration : false, |
|
|
throttle : settings.throttle, |
|
|
throttle : settings.throttle, |
|
|
cache : 'local', |
|
|
|
|
|
urlData : { |
|
|
urlData : { |
|
|
query: query |
|
|
query: query |
|
|
}, |
|
|
}, |
|
@ -999,7 +998,7 @@ $.fn.dropdown = function(parameters) { |
|
|
var |
|
|
var |
|
|
$label = $module.find(selector.label), |
|
|
$label = $module.find(selector.label), |
|
|
$activeLabel = $label.filter('.' + className.active), |
|
|
$activeLabel = $label.filter('.' + className.active), |
|
|
activeValue = $activeLabel.data('value'), |
|
|
|
|
|
|
|
|
activeValue = $activeLabel.data(metadata.value), |
|
|
labelIndex = $label.index($activeLabel), |
|
|
labelIndex = $label.index($activeLabel), |
|
|
labelCount = $label.length, |
|
|
labelCount = $label.length, |
|
|
hasActiveLabel = ($activeLabel.length > 0), |
|
|
hasActiveLabel = ($activeLabel.length > 0), |
|
@ -1363,6 +1362,7 @@ $.fn.dropdown = function(parameters) { |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
hide: function() { |
|
|
hide: function() { |
|
|
|
|
|
module.set.value(value); |
|
|
module.hideAndClear(); |
|
|
module.hideAndClear(); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -2596,7 +2596,7 @@ $.fn.dropdown = function(parameters) { |
|
|
$labels |
|
|
$labels |
|
|
.each(function(){ |
|
|
.each(function(){ |
|
|
var |
|
|
var |
|
|
value = $(this).data('value'), |
|
|
|
|
|
|
|
|
value = $(this).data(metadata.value), |
|
|
isUserValue = module.is.userValue(value) |
|
|
isUserValue = module.is.userValue(value) |
|
|
; |
|
|
; |
|
|
if(isUserValue) { |
|
|
if(isUserValue) { |
|
|