10-25-2017, 11:06 PM
I suppose that if the user you test with has ISO date format (Y-m-d) it works correctly. If that is the case, I'd say you have to unset the ajxaction REQUEST varaible:
when in AJAX inline edit mode this variable is set to indicate that all the values are set to database values. In other words, in inline edit mode the application only expects the field being saved to be in the user format, all the rest have been directly read from the database and do not need conversion. Since you are converting them, when MySQL see the value it is in the format of the user and blanks it. At least that is what I am suspecting.
try and
in your handler and let me know how it goes.
PHP Code:
$_REQUEST['ajxaction'] == 'DETAILVIEW'
when in AJAX inline edit mode this variable is set to indicate that all the values are set to database values. In other words, in inline edit mode the application only expects the field being saved to be in the user format, all the rest have been directly read from the database and do not need conversion. Since you are converting them, when MySQL see the value it is in the format of the user and blanks it. At least that is what I am suspecting.
try and
PHP Code:
unset($_REQUEST['ajxaction']);
in your handler and let me know how it goes.
Joe
TSolucio
TSolucio