small bugfix for search panels
This commit is contained in:
@@ -534,10 +534,6 @@ end
|
|||||||
|
|
||||||
function public.start_search()
|
function public.start_search()
|
||||||
|
|
||||||
if not AuxFilterSearchFrameFiltersSearchButton:IsVisible() then
|
|
||||||
return
|
|
||||||
end
|
|
||||||
|
|
||||||
Aux.scan.abort(function()
|
Aux.scan.abort(function()
|
||||||
|
|
||||||
AuxFilterSearchFrameFiltersSearchButton:Hide()
|
AuxFilterSearchFrameFiltersSearchButton:Hide()
|
||||||
|
|||||||
@@ -523,10 +523,6 @@ end
|
|||||||
|
|
||||||
function public.start_search()
|
function public.start_search()
|
||||||
|
|
||||||
if not AuxItemSearchFrameItemRefreshButton:IsVisible() then
|
|
||||||
return
|
|
||||||
end
|
|
||||||
|
|
||||||
Aux.scan.abort(function()
|
Aux.scan.abort(function()
|
||||||
|
|
||||||
AuxItemSearchFrameItemRefreshButton:Hide()
|
AuxItemSearchFrameItemRefreshButton:Hide()
|
||||||
@@ -572,7 +568,7 @@ function public.start_search()
|
|||||||
end,
|
end,
|
||||||
on_complete = function()
|
on_complete = function()
|
||||||
auctions = auctions or {}
|
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()
|
AuxItemSearchFrameItemStopButton:Hide()
|
||||||
AuxItemSearchFrameItemRefreshButton:Show()
|
AuxItemSearchFrameItemRefreshButton:Show()
|
||||||
@@ -580,7 +576,7 @@ function public.start_search()
|
|||||||
end,
|
end,
|
||||||
on_abort = function()
|
on_abort = function()
|
||||||
auctions = auctions or {}
|
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()
|
AuxItemSearchFrameItemStopButton:Hide()
|
||||||
AuxItemSearchFrameItemRefreshButton:Show()
|
AuxItemSearchFrameItemRefreshButton:Show()
|
||||||
refresh = true
|
refresh = true
|
||||||
|
|||||||
Reference in New Issue
Block a user