JQuery in, Prototype/Scriptaculous out (#11445).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10068 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang committed 2012-07-22 13:29:26 +00:00
1 parent 387836f8aa
commit 6a2ca5e034
122 files changed
+1431 -10962

No files matched your search

+6 -8
View File
@@ -1,9 +1,7 @@
Element.update('all_attributes', '<%= escape_javascript(render :partial => 'form') %>');
$('#all_attributes').html('<%= escape_javascript(render :partial => 'form') %>');
if ($('log_time')) {
<% if User.current.allowed_to?(:log_time, @issue.project) %>
Element.show('log_time');
<% else %>
Element.hide('log_time');
<% end %>
}
<% if User.current.allowed_to?(:log_time, @issue.project) %>
$('#log_time').show();
<% else %>
$('#log_time').hide();
<% end %>