From 1ac16cbc0ff66d2387b139779a71189d98959eea Mon Sep 17 00:00:00 2001 From: Dave Page Date: Wed, 23 Mar 2016 11:53:07 +0000 Subject: [PATCH] We have defaults for switch display now, so no need to set the options explicitly. --- .../databases/schemas/templates/schema/js/schema.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/web/pgadmin/browser/server_groups/servers/databases/schemas/templates/schema/js/schema.js b/web/pgadmin/browser/server_groups/servers/databases/schemas/templates/schema/js/schema.js index 352da1f5b..d46592231 100644 --- a/web/pgadmin/browser/server_groups/servers/databases/schemas/templates/schema/js/schema.js +++ b/web/pgadmin/browser/server_groups/servers/databases/schemas/templates/schema/js/schema.js @@ -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'