summaryrefslogtreecommitdiffstats
path: root/public
diff options
context:
space:
mode:
authorMarius Balteanu <marius.balteanu@zitec.com>2022-05-16 19:38:11 +0000
committerMarius Balteanu <marius.balteanu@zitec.com>2022-05-16 19:38:11 +0000
commit5d830c892d0289c98443f4b03bc0d6ec36aade49 (patch)
treebd03c7b9d3e97199d6637cfd5789354dabb94e24 /public
parent1eeb7e50ac118938542330c72ca16908dc713f9b (diff)
downloadredmine-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.js9
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) {