From 305e6cfd6df1c8842fcec62db8bdb0628aa85e09 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Thu, 9 Feb 2017 11:19:27 +0100 Subject: [PATCH] Editing message could yield multiple loading indicators --- .../files/js/WoltLabSuite/Core/Ui/Message/InlineEditor.js | 3 ++- .../install/files/js/WoltLabSuite/Core/Ui/Message/Reply.js | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Message/InlineEditor.js b/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Message/InlineEditor.js index ae39c32867..725ba9e8e5 100644 --- a/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Message/InlineEditor.js +++ b/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Message/InlineEditor.js @@ -696,7 +696,8 @@ define( data: { className: this._options.className, interfaceName: 'wcf\\data\\IMessageInlineEditorAction' - } + }, + silent: true }; }, diff --git a/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Message/Reply.js b/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Message/Reply.js index 4f9de97baa..7d7cc7c0f3 100644 --- a/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Message/Reply.js +++ b/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Message/Reply.js @@ -376,12 +376,12 @@ define(['Ajax', 'Core', 'EventHandler', 'Language', 'Dom/ChangeListener', 'Dom/U _ajaxSetup: function() { return { - silent: true, data: { actionName: 'quickReply', className: this._options.ajax.className, interfaceName: 'wcf\\data\\IMessageQuickReplyAction' - } + }, + silent: true }; } }; -- 2.20.1