Redmine 3.4.4
This commit is contained in:
commit
64924a6376
2112 changed files with 259028 additions and 0 deletions
17
app/views/custom_fields/new.html.erb
Normal file
17
app/views/custom_fields/new.html.erb
Normal file
|
@ -0,0 +1,17 @@
|
|||
<%= custom_field_title @custom_field %>
|
||||
|
||||
<%= labelled_form_for :custom_field, @custom_field, :url => custom_fields_path, :html => {:id => 'custom_field_form'} do |f| %>
|
||||
<%= render :partial => 'form', :locals => { :f => f } %>
|
||||
<%= hidden_field_tag 'type', @custom_field.type %>
|
||||
<% end %>
|
||||
|
||||
<%= javascript_tag do %>
|
||||
$('#custom_field_field_format').change(function(){
|
||||
$.ajax({
|
||||
url: '<%= new_custom_field_path(:format => 'js') %>',
|
||||
type: 'get',
|
||||
data: $('#custom_field_form').serialize(),
|
||||
complete: toggleDisabledInit
|
||||
});
|
||||
});
|
||||
<% end %>
|
Loading…
Add table
Add a link
Reference in a new issue