Change "Null" to "NULL" on grid edit null popup to make the text mean the NULL value of MySQL

Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
William Desportes 2021-03-22 22:35:09 +01:00
parent 54fc311a3f
commit 508c9d962d
No known key found for this signature in database
GPG Key ID: 90A0EF1B8251A889

View File

@ -798,7 +798,7 @@ var makeGrid = function (t, enableResize, enableReorder, enableVisib, enableGrid
g.wasEditedCellNull = false; g.wasEditedCellNull = false;
if ($td.is(':not(.not_null)')) { if ($td.is(':not(.not_null)')) {
// append a null checkbox // append a null checkbox
$editArea.append('<div class="null_div"><label>Null:<input type="checkbox"></label></div>'); $editArea.append('<div class="null_div"><label>NULL:<input type="checkbox"></label></div>');
var $checkbox = $editArea.find('.null_div input'); var $checkbox = $editArea.find('.null_div input');
// check if current <td> is NULL // check if current <td> is NULL