mirror of
https://github.com/redmine/redmine.git
synced 2025-11-12 00:06:01 +01:00
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
This commit is contained in:
@@ -1 +1,6 @@
|
||||
replaceIssueFormWith('<%= escape_javascript(render :partial => 'edit') %>');
|
||||
replaceIssueFormWith('<%= escape_javascript(render :partial => 'form') %>');
|
||||
<% if User.current.allowed_to?(:log_time, @issue.project) %>
|
||||
$('#log_time').show();
|
||||
<% else %>
|
||||
$('#log_time').hide();
|
||||
<% end %>
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
function updateBulkEditFrom(url) {
|
||||
|
||||
Reference in New Issue
Block a user