bugfix
This commit is contained in:
+14
-8
@@ -218,14 +218,20 @@ function AUCTION_HOUSE_SHOW()
|
|||||||
set_tab(1)
|
set_tab(1)
|
||||||
end
|
end
|
||||||
|
|
||||||
function AUCTION_HOUSE_CLOSED()
|
do
|
||||||
bids_loaded = false
|
local handlers = {}
|
||||||
current_owner_page = nil
|
function set_handler.CLOSE(f)
|
||||||
post.stop()
|
tinsert(handlers, f)
|
||||||
stack.stop()
|
end
|
||||||
scan.abort()
|
function AUCTION_HOUSE_CLOSED()
|
||||||
set_tab()
|
bids_loaded = false
|
||||||
AuxFrame:Hide()
|
current_owner_page = nil
|
||||||
|
for _, handler in handlers do
|
||||||
|
handler()
|
||||||
|
end
|
||||||
|
set_tab()
|
||||||
|
AuxFrame:Hide()
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
function AUCTION_BIDDER_LIST_UPDATE()
|
function AUCTION_BIDDER_LIST_UPDATE()
|
||||||
|
|||||||
@@ -7,6 +7,10 @@ local stack = require 'aux.core.stack'
|
|||||||
|
|
||||||
local state
|
local state
|
||||||
|
|
||||||
|
function handle.CLOSE()
|
||||||
|
stop()
|
||||||
|
end
|
||||||
|
|
||||||
function process()
|
function process()
|
||||||
if state.posted < state.count then
|
if state.posted < state.count then
|
||||||
|
|
||||||
|
|||||||
@@ -9,6 +9,10 @@ local history = require 'aux.core.history'
|
|||||||
|
|
||||||
local PAGE_SIZE = 50
|
local PAGE_SIZE = 50
|
||||||
|
|
||||||
|
function handle.CLOSE()
|
||||||
|
abort()
|
||||||
|
end
|
||||||
|
|
||||||
do
|
do
|
||||||
local scan_states = {}
|
local scan_states = {}
|
||||||
|
|
||||||
|
|||||||
@@ -8,6 +8,10 @@ local info = require 'aux.util.info'
|
|||||||
|
|
||||||
local state
|
local state
|
||||||
|
|
||||||
|
function handle.CLOSE()
|
||||||
|
stop()
|
||||||
|
end
|
||||||
|
|
||||||
function stack_size(slot)
|
function stack_size(slot)
|
||||||
local container_item_info = T.temp-info.container_item(unpack(slot))
|
local container_item_info = T.temp-info.container_item(unpack(slot))
|
||||||
return container_item_info and container_item_info.count or 0
|
return container_item_info and container_item_info.count or 0
|
||||||
|
|||||||
Reference in New Issue
Block a user