mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fix the boolean editor, and warn the user if there are unsaved changed in the edit grid before refreshing.
This commit is contained in:
committed by
Dave Page
parent
fca331acb6
commit
087332f32e
@@ -10,7 +10,8 @@
|
||||
$.extend(true, window, {
|
||||
"Slick": {
|
||||
"Formatters": {
|
||||
"JsonString": JsonFormatter
|
||||
"JsonString": JsonFormatter,
|
||||
"Checkmark": CheckmarkFormatter
|
||||
}
|
||||
}
|
||||
});
|
||||
@@ -28,4 +29,8 @@
|
||||
}
|
||||
}
|
||||
|
||||
function CheckmarkFormatter(row, cell, value, columnDef, dataContext) {
|
||||
return value ? "true" : "false";
|
||||
}
|
||||
|
||||
})(jQuery);
|
||||
|
||||
Reference in New Issue
Block a user