Merge branch 'dev' of https://github.com/shirsig/Aux-Addon into dev
This commit is contained in:
@@ -28,6 +28,7 @@ end
|
||||
function Aux.buy.dialog_cancel()
|
||||
Aux.scan.abort()
|
||||
AuxBuyDialog:Hide()
|
||||
AuxBuyList:Show()
|
||||
AuxBuySearchButton:Enable()
|
||||
end
|
||||
|
||||
@@ -149,6 +150,7 @@ function show_dialog(buyout_mode, hyperlink, stack_size, amount)
|
||||
AuxBuyDialogBuyoutPrice:Hide()
|
||||
AuxBuyDialogBid:Show()
|
||||
end
|
||||
AuxBuyList:Hide()
|
||||
AuxBuyDialog:Show()
|
||||
end
|
||||
|
||||
@@ -186,7 +188,7 @@ function AuxBuyEntry_OnClick(entry_index)
|
||||
PlaySound("igMainMenuOptionCheckBoxOn")
|
||||
|
||||
local found
|
||||
local order_key = Aux.auction_key(entry.tooltip, entry.stack_size, amount)
|
||||
local order_key = Aux.auction_key(entry.tooltip, entry.stack_size, amount)
|
||||
|
||||
Aux.scan.start{
|
||||
query = search_query,
|
||||
@@ -260,6 +262,11 @@ function AuxBuyEntry_OnClick(entry_index)
|
||||
AuxBuySearchButton:Enable()
|
||||
end
|
||||
end,
|
||||
next_page = function(page, total_pages)
|
||||
if not page or page == entry.page then
|
||||
return entry.page - 1
|
||||
end
|
||||
end,
|
||||
}
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user