diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php index c31f23eeb4e..696ad9b1500 100644 --- a/htdocs/core/class/html.form.class.php +++ b/htdocs/core/class/html.form.class.php @@ -245,7 +245,7 @@ class Form $inputType=$tmp[0]; $inputOption=$tmp[1]; if (! empty($tmp[2])) $savemethod=$tmp[2]; - $out.= ''."\n"; // Use for timestamp format + $out.= ''."\n"; // Use for timestamp format } else if (preg_match('/^select/',$inputType)) { diff --git a/htdocs/core/js/datepicker.js.php b/htdocs/core/js/datepicker.js.php index 19cfbeecd55..45d360b888c 100644 --- a/htdocs/core/js/datepicker.js.php +++ b/htdocs/core/js/datepicker.js.php @@ -120,7 +120,7 @@ $(document).ready(function() { autoSize: true, changeMonth: true, changeYear: true, - altField: '#timeStamp', + altField: '#timestamp', altFormat: '@' // Gives a timestamp dateformat }); }); diff --git a/htdocs/core/js/editinplace.js b/htdocs/core/js/editinplace.js index 8e72bc2369b..557ae18b47a 100644 --- a/htdocs/core/js/editinplace.js +++ b/htdocs/core/js/editinplace.js @@ -248,10 +248,10 @@ $(document).ready(function() { var fk_element = $( '#fk_element_' + htmlname ).val(); var loadmethod = $( '#loadmethod_' + htmlname ).val(); var savemethod = $( '#savemethod_' + htmlname ).val(); - var timestamp = $('#timestamp_' + htmlname ).val(); var ext_element = $( '#ext_element_' + htmlname ).val(); //var ext_table_element = $( '#ext_table_element_' + htmlname ).val(); //var ext_fk_element = $( '#ext_fk_element_' + htmlname ).val(); + var timestamp = $('#timestamp').val(); return { type: type,