summaryrefslogtreecommitdiffstats
path: root/app/views
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 /app/views
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 'app/views')
-rw-r--r--app/views/issues/edit.js.erb7
1 files changed, 6 insertions, 1 deletions
diff --git a/app/views/issues/edit.js.erb b/app/views/issues/edit.js.erb
index ed8fc3ca8..9ccc78ad2 100644
--- a/app/views/issues/edit.js.erb
+++ b/app/views/issues/edit.js.erb
@@ -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 %>