diff options
author | Marius Balteanu <marius.balteanu@zitec.com> | 2022-05-16 19:38:11 +0000 |
---|---|---|
committer | Marius Balteanu <marius.balteanu@zitec.com> | 2022-05-16 19:38:11 +0000 |
commit | 5d830c892d0289c98443f4b03bc0d6ec36aade49 (patch) | |
tree | bd03c7b9d3e97199d6637cfd5789354dabb94e24 /public | |
parent | 1eeb7e50ac118938542330c72ca16908dc713f9b (diff) | |
download | redmine-5d830c892d0289c98443f4b03bc0d6ec36aade49.tar.gz redmine-5d830c892d0289c98443f4b03bc0d6ec36aade49.zip |
Revert changes made to issue form update in r21495 (#37053).
git-svn-id: https://svn.redmine.org/redmine/trunk@21578 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'public')
-rw-r--r-- | public/javascripts/application.js | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/public/javascripts/application.js b/public/javascripts/application.js index efff38da7..91da19229 100644 --- a/public/javascripts/application.js +++ b/public/javascripts/application.js @@ -622,13 +622,8 @@ function replaceIssueFormWith(html){ replacement.find('#'+object_id).val($(this).val()); } }); - - if ($('form.new_issue').length > 0) { - $('#all_attributes').empty(); - $('#all_attributes').prepend(replacement); - } else { - $('#issue-form').replaceWith(replacement); - } + $('#all_attributes').empty(); + $('#all_attributes').prepend(replacement); } function updateBulkEditFrom(url) { |