app/assets/javascripts/lato_view/build/FormManager.js in lato_view-1.1 vs app/assets/javascripts/lato_view/build/FormManager.js in lato_view-1.1.3
- old
+ new
@@ -12,15 +12,21 @@
var _manageDatePicker = function() {
var $datepicker = $('.date-picker').pickadate({
firstDay: 1,
min: new Date(1900, 0, 1),
max: new Date(3000, 12, 31),
- format: 'dd/mm/yyyy'
+ format: 'dd/mm/yyyy',
+ hiddenPrefix: '',
+ hiddenSuffix: ''
});
};
var _manageTimePicker = function() {
- var $timePicker = $('.time-picker').pickatime();
+ var $timePicker = $('.time-picker').pickatime({
+ format: 'H:i',
+ hiddenPrefix: '',
+ hiddenSuffix: ''
+ });
};
var _manageFileUploader = function() {
var $dropZone = $('.drop-zone');
var parentForm = $dropZone.parent('.lato-form');