1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-21 01:49:57 +02:00
Sonarr/UI/Settings/DownloadClient/PneumaticView.js

25 lines
576 B
JavaScript
Raw Normal View History

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