12721273127412751276127712781279128012811282
private boolean testActiveClick(Event e) { Element target = e.getEventTarget().cast(); GQuery $e = $(target); if ($e.parents("#" + containerId).length() > 0) { activeField = true; } else { closeField(); } return false;
406407408409410411412413414415416
Element target = e.getEventTarget().cast(); GQuery $e = $(target); if (activeField && !($e.hasClass(css.searchChoice()) || !$e.parents("." + css.searchChoice()).isEmpty()) && !resultsShowing) { resultsShow(); } return false; }
463464465466467468469470471472473
searchField.val(""); } $(document).click(clickTestAction); resultsShow(); } else if (!isMultiple && !$e.isEmpty() && ($e.get(0) == selectedItem.get(0) || $e.parents("a." + css.chznSingle()).length() > 0)) { e.preventDefault(); resultsToggle(); } activateField(e);
10561057105810591060106110621063106410651066
private boolean searchResultsMouseOut(Event e) { Element targetEl = e.getEventTarget().cast(); GQuery $e = $(targetEl); if ($e.hasClass(css.activeResult()) || $e.parents("." + css.activeResult()).length() > 0) { resultClearHighlight(); } return false; }
393394395396397398399400401402403
450451452453454455456457458459460
12441245124612471248124912501251125212531254
12921293129412951296129712981299130013011302
15231524152515261527152815291530153115321533
private boolean testActiveClick(Event e) { Element target = e.getEventTarget().cast(); GQuery $e = $(target); if ($e.parents("#" + containerId).length() > 0) { activeField = true; } else { closeField(); } return true;
548549550551552553554555556557558
Element target = e.getEventTarget().cast(); GQuery $e = $(target); if (activeField && !($e.hasClass(css.searchChoice()) || !$e.parents("." + css.searchChoice()).isEmpty()) && !resultsShowing) { resultsShow(); } return true; }