Clean up the unwanted extended versions of Backform Switch controls.

The Bootstrap Switch Control was extended only for alignment in most
places. IIntroduce a configurable option to set the necessary class
on the main div and also remove the extra extended controls.
This commit is contained in:
Khushboo Vashi
2019-02-05 16:22:35 +00:00
committed by Dave Page
parent 3fae181c27
commit 4a75053514
7 changed files with 234 additions and 127 deletions

View File

@@ -137,7 +137,8 @@ define('pgadmin.node.pga_jobstep', [
id: 'jstname', label: gettext('Name'), type: 'text',
disabled: false, cellHeaderClasses: 'width_percent_60',
},{
id: 'jstenabled', label: gettext('Enabled?'), type: 'switch',
id: 'jstenabled', label: gettext('Enabled?'),
type: 'switch',
disabled: function() { return false; },
},{
id: 'jstkind', label: gettext('Kind'), type: 'switch',