|
|
@ -102,7 +102,9 @@ |
|
|
|
} |
|
|
|
} |
|
|
|
else { |
|
|
|
else { |
|
|
|
$(picker).data("DateTimePicker").enable(); |
|
|
|
$(picker).data("DateTimePicker").enable(); |
|
|
|
|
|
|
|
console.log('1') |
|
|
|
if ($(picker).data("DateTimePicker") == null){ |
|
|
|
if ($(picker).data("DateTimePicker") == null){ |
|
|
|
|
|
|
|
console.log('2') |
|
|
|
$(picker).data("DateTimePicker") = moment().format('DD-MM-YYYY HH:mm'); |
|
|
|
$(picker).data("DateTimePicker") = moment().format('DD-MM-YYYY HH:mm'); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|