Prettier root folder

This commit is contained in:
Mark McDowall 2013-06-27 17:00:55 -07:00
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()
});