Added path autocomplete to download client settings

This commit is contained in:
Mark McDowall
2013-03-15 17:33:04 -07:00
parent 76b8b006fa
commit 15bbeb9270
4 changed files with 7 additions and 8 deletions
@@ -11,13 +11,15 @@ define([
ui: {
switch: '.switch',
tooltip: '[class^="help-inline"] i'
tooltip: '[class^="help-inline"] i',
pathInput: '.x-path'
},
onRender: function () {
NzbDrone.ModelBinder.bind(this.model, this.el);
this.ui.switch.bootstrapSwitch();
this.ui.tooltip.tooltip({ placement: 'right', html: true });
this.ui.pathInput.autoComplete('/directories');
}
});
});