diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-02-13 20:00:22 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-02-13 20:00:22 +0000 |
commit | a32822477170bf57a482365b8c6c47bd617147e3 (patch) | |
tree | 1efcf22510a985f3f0afb607610a45f7e7b79e33 /app/views/issues/edit.js.erb | |
parent | 37aa016740399f2adffe43a509571b13e9025b9b (diff) | |
download | redmine-a32822477170bf57a482365b8c6c47bd617147e3.tar.gz redmine-a32822477170bf57a482365b8c6c47bd617147e3.zip |
Removed IssuesController#update_form action, use #new and #edit instead.
git-svn-id: http://svn.redmine.org/redmine/trunk@13997 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/issues/edit.js.erb')
-rw-r--r-- | app/views/issues/edit.js.erb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/views/issues/edit.js.erb b/app/views/issues/edit.js.erb new file mode 100644 index 000000000..8c94aeceb --- /dev/null +++ b/app/views/issues/edit.js.erb @@ -0,0 +1,7 @@ +replaceIssueFormWith('<%= escape_javascript(render :partial => 'form') %>'); + +<% if User.current.allowed_to?(:log_time, @issue.project) %> + $('#log_time').show(); +<% else %> + $('#log_time').hide(); +<% end %> |