|
|
|
@ -21,7 +21,7 @@ define(
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
events: {
|
|
|
|
|
'click .x-add': 'addFolder'
|
|
|
|
|
'click .x-add': '_addFolder'
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
initialize: function () {
|
|
|
|
@ -30,7 +30,6 @@ define(
|
|
|
|
|
this.rootfolderListView.on('itemview:folderSelected', this._onFolderSelected, this);
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
onRender: function () {
|
|
|
|
|
|
|
|
|
|
this.currentDirs.show(this.rootfolderListView);
|
|
|
|
@ -41,7 +40,7 @@ define(
|
|
|
|
|
this.trigger('folderSelected', options);
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
addFolder: function () {
|
|
|
|
|
_addFolder: function () {
|
|
|
|
|
var newDir = new RootFolderModel({
|
|
|
|
|
Path: this.ui.pathInput.val()
|
|
|
|
|
});
|
|
|
|
|