From: Go MAEDA Date: Tue, 6 Apr 2021 05:46:50 +0000 (+0000) Subject: Cannot open journal dropdown menu after editing note (#34998). X-Git-Tag: 5.0.0~442 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a92205c2722cf11a7bc96d5be96158d372e892a5;p=redmine.git Cannot open journal dropdown menu after editing note (#34998). Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@20917 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/public/javascripts/application.js b/public/javascripts/application.js index e60425cae..1bc228236 100644 --- a/public/javascripts/application.js +++ b/public/javascripts/application.js @@ -722,7 +722,7 @@ $(document).ready(function(){ // This variable is used to focus selected project var selected; - $(".drdn-trigger").click(function(e){ + $(document).on('click', '.drdn-trigger', function(e){ var drdn = $(this).closest(".drdn"); if (drdn.hasClass("expanded")) { drdn.removeClass("expanded");