summaryrefslogtreecommitdiffstats
path: root/app/views/custom_fields/new.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/custom_fields/new.html.erb')
-rw-r--r--app/views/custom_fields/new.html.erb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/custom_fields/new.html.erb b/app/views/custom_fields/new.html.erb
index 69328412e..6c5809e73 100644
--- a/app/views/custom_fields/new.html.erb
+++ b/app/views/custom_fields/new.html.erb
@@ -12,7 +12,8 @@ $('#custom_field_field_format').change(function(){
$.ajax({
url: '<%= new_custom_field_path(:format => 'js') %>',
type: 'get',
- data: $('#custom_field_form').serialize()
+ data: $('#custom_field_form').serialize(),
+ complete: toggleDisabledInit
});
});
<% end %>