Radarr/UI/Settings/DownloadClient/BlackholeView.js

25 lines
576 B
JavaScript
Raw Normal View History

'use strict';
define(
[
'marionette',
'Mixins/AsModelBoundView',
2013-07-06 21:59:15 +00:00
'Mixins/AutoComplete',
'bootstrap'
], function (Marionette, AsModelBoundView) {
var view = Marionette.ItemView.extend({
2013-07-06 21:59:15 +00:00
template : 'Settings/DownloadClient/BlackholeViewTemplate',
ui: {
'blackholeFolder': '.x-path'
},
onShow: function () {
this.ui.blackholeFolder.autoComplete('/directories');
}
});
return AsModelBoundView.call(view);
});