diff --git a/app/assets/javascripts/locomotive/views/content_entries/_popup_form_view.js.coffee b/app/assets/javascripts/locomotive/views/content_entries/_popup_form_view.js.coffee index 975e587a..b7c8f94c 100644 --- a/app/assets/javascripts/locomotive/views/content_entries/_popup_form_view.js.coffee +++ b/app/assets/javascripts/locomotive/views/content_entries/_popup_form_view.js.coffee @@ -50,6 +50,8 @@ class Locomotive.Views.ContentEntries.PopupFormView extends Locomotive.Views.Con parent_el.find('.new-section').hide() parent_el.find('.edit-section').show() + @clear_errors() + $(@el).dialog('open') close: (event) -> diff --git a/app/assets/stylesheets/locomotive/backoffice/datepicker.css.scss b/app/assets/stylesheets/locomotive/backoffice/datepicker.css.scss index 81dc01d3..d1fcfa32 100644 --- a/app/assets/stylesheets/locomotive/backoffice/datepicker.css.scss +++ b/app/assets/stylesheets/locomotive/backoffice/datepicker.css.scss @@ -8,7 +8,7 @@ width: auto; - z-index: 999 !important; + z-index: 1001 !important; background: #f1f1f1; diff --git a/app/assets/stylesheets/locomotive/backoffice/dialog_changes.css.scss b/app/assets/stylesheets/locomotive/backoffice/dialog_changes.css.scss index c400569d..bf719788 100644 --- a/app/assets/stylesheets/locomotive/backoffice/dialog_changes.css.scss +++ b/app/assets/stylesheets/locomotive/backoffice/dialog_changes.css.scss @@ -84,6 +84,12 @@ width: 530px; } } // li.string + + li.date { + input[type=text] { + width: 90px; + } + } // li.string } } } // .form.formtastic