date picker was not correctly displayed in the popup form (has_many relationship) + previous form errors remained even within a fresh new popup

This commit is contained in:
Didier Lafforgue 2012-04-26 12:12:55 +02:00
parent f9a6155c19
commit a8646e7ef3
3 changed files with 9 additions and 1 deletions

View File

@ -50,6 +50,8 @@ class Locomotive.Views.ContentEntries.PopupFormView extends Locomotive.Views.Con
parent_el.find('.new-section').hide() parent_el.find('.new-section').hide()
parent_el.find('.edit-section').show() parent_el.find('.edit-section').show()
@clear_errors()
$(@el).dialog('open') $(@el).dialog('open')
close: (event) -> close: (event) ->

View File

@ -8,7 +8,7 @@
width: auto; width: auto;
z-index: 999 !important; z-index: 1001 !important;
background: #f1f1f1; background: #f1f1f1;

View File

@ -84,6 +84,12 @@
width: 530px; width: 530px;
} }
} // li.string } // li.string
li.date {
input[type=text] {
width: 90px;
}
} // li.string
} }
} }
} // .form.formtastic } // .form.formtastic