From 5aaf88603d599207deb1a3760117d42ea76d3957 Mon Sep 17 00:00:00 2001 From: Peter Lohse Date: Thu, 9 May 2019 08:21:45 +0200 Subject: [PATCH] Fix submitButton selector in Ui/Message/Reply Closes #2927 --- wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Message/Reply.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 c01e810423..5f4eadfa4f 100644 --- a/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Message/Reply.js +++ b/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Message/Reply.js @@ -41,7 +41,7 @@ define(['Ajax', 'Core', 'EventHandler', 'Language', 'Dom/ChangeListener', 'Dom/U // handle submit button var submitCallback = this._submit.bind(this); - var submitButton = elBySel('button[data-type="save"]'); + var submitButton = elBySel('button[data-type="save"]', this._container); submitButton.addEventListener(WCF_CLICK_EVENT, submitCallback); // bind reply button -- 2.20.1