|
|
@@ -23,6 +23,7 @@ define([ |
|
|
|
|
|
|
|
postRender: function() { |
|
|
|
this.onEvent('onGetTradeList', this.onGetTradeList.bind(this)); |
|
|
|
this.onEvent('onCloseTrade', this.hide.bind(this)); |
|
|
|
}, |
|
|
|
|
|
|
|
onGetTradeList: function(itemList, action) { |
|
|
@@ -191,6 +192,10 @@ define([ |
|
|
|
uiTooltipItem.showWorth(canAfford); |
|
|
|
}, |
|
|
|
|
|
|
|
beforeHide: function() { |
|
|
|
events.emit('onHideOverlay', this.el); |
|
|
|
}, |
|
|
|
|
|
|
|
onServerRespond: function(el) { |
|
|
|
el.removeClass('disabled'); |
|
|
|
} |
|
|
|