We have defaults for switch display now, so no need to set the options explicitly.

pull/3/head
Dave Page 2016-03-23 11:53:07 +00:00
parent 258c7f3589
commit 1ac16cbc0f
1 changed files with 1 additions and 6 deletions

View File

@ -110,12 +110,7 @@ function($, _, S, pgAdmin, pgBrowser, Backform, alertify) {
select2: { allowClear: false }
},{
id: 'is_sys_object', label:'{{ _('System schema?') }}',
cell: 'switch', type: 'switch', mode: ['properties'], disabled: true,
options: {
'onText': 'Yes', 'offText': 'No',
'onColor': 'success', 'offColor': 'primary',
'size': 'small'
}
cell: 'switch', type: 'switch', mode: ['properties'], disabled: true
},{
id: 'description', label:'{{ _('Comment') }}', cell: 'string',
type: 'multiline'