sonarr-repo-only/UI/Settings/DownloadClient/PneumaticView.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/PneumaticViewTemplate',
ui: {
'pneumaticFolder': '.x-path'
},
onShow: function () {
this.ui.pneumaticFolder.autoComplete('/directories');
}
});
return AsModelBoundView.call(view);
});