Prettier root folder

This commit is contained in:
Mark McDowall
2013-06-27 17:00:55 -07:00
parent 961c421b3b
commit 7f59062215
5 changed files with 13 additions and 10 deletions

View File

@@ -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()
});