Merge #20073 - Fix display of timestamp after inline edit
Pull-request: #20073 Fixes: #20072 Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
commit
f26f370f4a
@ -708,7 +708,10 @@ var makeGrid = function (t, enableResize, enableReorder, enableVisib, enableGrid
|
||||
|
||||
// remove decimal places if column type not supported
|
||||
if ((decimals === 0) && ($thisField.attr('data-type').indexOf('time') !== -1)) {
|
||||
newHtml = newHtml.substring(0, newHtml.indexOf('.'));
|
||||
var index = newHtml.indexOf('.');
|
||||
if (index !== -1) {
|
||||
newHtml = newHtml.substring(0, index);
|
||||
}
|
||||
}
|
||||
|
||||
// remove additional decimal places
|
||||
|
||||
Loading…
Reference in New Issue
Block a user