private var autoCompleteDropDownShown:Boolean = false;
/**
* Removes filters on the dataprovider so that the whole list can be shown when the AutoComplete
* component is clicked. showDropDown on the AdvancedAutoComplete component is called.
* If clicked again, hideDropDown is called.
*/
public function onClickAutoComplete():void
{
if ( organizationList != null )
{
organizationList.filterFunction = null;
organizationList.refresh();
if ( !autoCompleteDropDownShown )
{
orgAutoComplete.showDropDown();
autoCompleteDropDownShown = true;
}
else
{
orgAutoComplete.hideDropDown();
autoCompleteDropDownShown = false;
}
}
}