|
|
@ -10,7 +10,7 @@ define([
|
|
|
|
className: 'form-horizontal',
|
|
|
|
className: 'form-horizontal',
|
|
|
|
|
|
|
|
|
|
|
|
ui: {
|
|
|
|
ui: {
|
|
|
|
switch : '.switch',
|
|
|
|
bsSwitch : '.switch',
|
|
|
|
tooltip : '.help-inline i',
|
|
|
|
tooltip : '.help-inline i',
|
|
|
|
pathInput : '.x-path',
|
|
|
|
pathInput : '.x-path',
|
|
|
|
sabConfig : '.x-sab-config',
|
|
|
|
sabConfig : '.x-sab-config',
|
|
|
@ -25,7 +25,7 @@ define([
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
onRender: function () {
|
|
|
|
onRender: function () {
|
|
|
|
this.ui.switch.bootstrapSwitch();
|
|
|
|
this.ui.bsSwitch.bootstrapSwitch();
|
|
|
|
this.ui.tooltip.tooltip({ placement: 'right', html: true });
|
|
|
|
this.ui.tooltip.tooltip({ placement: 'right', html: true });
|
|
|
|
this.ui.pathInput.autoComplete('/directories');
|
|
|
|
this.ui.pathInput.autoComplete('/directories');
|
|
|
|
|
|
|
|
|
|
|
|