|
@ -875,7 +875,7 @@ $.fn.dropdown = function(parameters) { |
|
|
$selectedItem = ($currentlySelected.length > 0) |
|
|
$selectedItem = ($currentlySelected.length > 0) |
|
|
? $currentlySelected |
|
|
? $currentlySelected |
|
|
: $activeItem, |
|
|
: $activeItem, |
|
|
hasSelected = ($selectedItem.size() > 0) |
|
|
|
|
|
|
|
|
hasSelected = ($selectedItem.length > 0) |
|
|
; |
|
|
; |
|
|
if(hasSelected) { |
|
|
if(hasSelected) { |
|
|
module.debug('Forcing partial selection to selected item', $selectedItem); |
|
|
module.debug('Forcing partial selection to selected item', $selectedItem); |
|
@ -1288,7 +1288,7 @@ $.fn.dropdown = function(parameters) { |
|
|
? $currentlySelected |
|
|
? $currentlySelected |
|
|
: $activeItem, |
|
|
: $activeItem, |
|
|
$visibleItems = ($selectedItem.length > 0) |
|
|
$visibleItems = ($selectedItem.length > 0) |
|
|
? $selectedItem.siblings(':not(.' + className.filtered +')').andSelf() |
|
|
|
|
|
|
|
|
? $selectedItem.siblings(':not(.' + className.filtered +')').addBack() |
|
|
: $menu.children(':not(.' + className.filtered +')'), |
|
|
: $menu.children(':not(.' + className.filtered +')'), |
|
|
$subMenu = $selectedItem.children(selector.menu), |
|
|
$subMenu = $selectedItem.children(selector.menu), |
|
|
$parentMenu = $selectedItem.closest(selector.menu), |
|
|
$parentMenu = $selectedItem.closest(selector.menu), |
|
|