2013-07-02 06:46:38 +00:00
|
|
|
|
'use strict';
|
|
|
|
|
|
|
|
|
|
define(
|
|
|
|
|
[
|
|
|
|
|
'marionette',
|
|
|
|
|
'Mixins/AsModelBoundView',
|
2013-07-06 21:59:15 +00:00
|
|
|
|
'Mixins/AutoComplete',
|
2013-07-02 06:46:38 +00:00
|
|
|
|
'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');
|
|
|
|
|
}
|
2013-07-02 06:46:38 +00:00
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
return AsModelBoundView.call(view);
|
|
|
|
|
});
|