*/
_proxy: null,
+ /**
+ * collection of quick reply buttons
+ * @var jQuery
+ */
+ _quickReplyButtons: null,
+
/**
* quote manager object
* @var WCF.Message.Quote.Manager
if (quoteManager) this._quoteManager = quoteManager;
- $('.jsQuickReply').data('__api', this).click($.proxy(this.click, this));
+ this._quickReplyButtons = $('.jsQuickReply').data('__api', this).click($.proxy(this.click, this));
this._proxy = new WCF.Action.Proxy({
failure: $.proxy(this._failure, this),
this._container.toggle();
if (this._container.is(':visible')) {
+ this._quickReplyButtons.hide();
+
// TODO: Scrolling is anything but smooth, better use the init callback
this._scroll.scrollTo(this._container, true);
// display form submit
$messageBody.next().show();
+
+ this._quickReplyButtons.show();
},
/**