Changed the mapping of cell from 'numeric' to 'integer' for integer control as numeric cell has been removed from the code. Fixes #2631
parent
801a05891e
commit
e418cb8387
|
@ -425,7 +425,7 @@ define('pgadmin.node.role', [
|
|||
deps: ['rolcanlogin'], options: {format: 'YYYY-MM-DD HH:mm:ss Z'}
|
||||
},{
|
||||
id: 'rolconnlimit', type: 'int', group: gettext('Definition'),
|
||||
label: gettext('Connection limit'), cell: 'number', min : -1,
|
||||
label: gettext('Connection limit'), cell: 'integer', min : -1,
|
||||
mode: ['properties', 'edit', 'create'], disabled: 'readonly'
|
||||
},{
|
||||
id: 'rolcanlogin', label: gettext('Can login?'), type: 'switch',
|
||||
|
|
|
@ -56,7 +56,7 @@
|
|||
});
|
||||
|
||||
var controlMapper = Backform.controlMapper = {
|
||||
'int': ['uneditable-input', 'numeric', 'numeric'],
|
||||
'int': ['uneditable-input', 'numeric', 'integer'],
|
||||
'text': ['uneditable-input', 'input', 'string'],
|
||||
'numeric': ['uneditable-input', 'numeric', 'numeric'],
|
||||
'date': 'datepicker',
|
||||
|
|
Loading…
Reference in New Issue