small bugfix for search panels

This commit is contained in:
Manuel Simon Hirsig
2015-12-19 14:39:42 +01:00
parent 30c50f3b8b
commit 2d5d8926c1
2 changed files with 2 additions and 10 deletions
-4
View File
@@ -534,10 +534,6 @@ end
function public.start_search()
if not AuxFilterSearchFrameFiltersSearchButton:IsVisible() then
return
end
Aux.scan.abort(function()
AuxFilterSearchFrameFiltersSearchButton:Hide()
+2 -6
View File
@@ -523,10 +523,6 @@ end
function public.start_search()
if not AuxItemSearchFrameItemRefreshButton:IsVisible() then
return
end
Aux.scan.abort(function()
AuxItemSearchFrameItemRefreshButton:Hide()
@@ -572,7 +568,7 @@ function public.start_search()
end,
on_complete = function()
auctions = auctions or {}
Aux.log('Scan complete: '..getn(auctions)..' '..Aux_PluralizeIf('auction', getn(auctions))..' found.')
Aux.log('Scan complete: '..getn(auctions)..' '..Aux_PluralizeIf('auction', getn(auctions))..' of '..item_info.name..' found.')
AuxItemSearchFrameItemStopButton:Hide()
AuxItemSearchFrameItemRefreshButton:Show()
@@ -580,7 +576,7 @@ function public.start_search()
end,
on_abort = function()
auctions = auctions or {}
Aux.log('Scan aborted: '..getn(auctions)..' '..Aux_PluralizeIf('auction', getn(auctions))..' found.')
Aux.log('Scan aborted: '..getn(auctions)..' '..Aux_PluralizeIf('auction', getn(auctions))..' of '..item_info.name..' found.')
AuxItemSearchFrameItemStopButton:Hide()
AuxItemSearchFrameItemRefreshButton:Show()
refresh = true