diff --git a/app/views/admin/calendars/_form.html.erb b/app/views/admin/calendars/_form.html.erb
index bc7c17f..60c920c 100644
--- a/app/views/admin/calendars/_form.html.erb
+++ b/app/views/admin/calendars/_form.html.erb
@@ -62,7 +62,7 @@
<%= f.fields_for :title_translations, f.object do |f| %>
" id="title_translations_<%= locale %>">
<% title = f.object.title(locale) %>
-
+
<%= hidden_field_tag "#{f.object_name}[#{locale}]", title %>
<% end %>
@@ -83,7 +83,7 @@
<%= f.fields_for :note_translations, f.object do |f| %>
" id="note_translations_<%= locale %>">
<% note = f.object.note(locale) %>
-
+
<%= hidden_field_tag "#{f.object_name}[#{locale}]", note %>
<% end %>
@@ -283,6 +283,10 @@
if (year != '' && month != '' && day != ''){
parent_div.find('input[type="hidden"]').eq(-1).val(year+'-'+month+'-'+day)
}
- })
+ });
+ $('.preserve_input_text').off('paste').on('paste',function(e){
+ $(this).html(($('').append(e.originalEvent.clipboardData.getData('text/plain')).text()));
+ e.preventDefault();
+ });
})
\ No newline at end of file