listenTo instead of on

This commit is contained in:
Mark McDowall 2014-06-25 00:09:16 -07:00
parent 6a9993fa70
commit 83207a0baf
2 changed files with 5 additions and 9 deletions

View file

@ -55,7 +55,7 @@ define(
_importSeries: function () {
this.rootFolderLayout = new RootFolderLayout();
this.rootFolderLayout.on('folderSelected', this._folderSelected, this);
this.listenTo(this.rootFolderLayout, 'folderSelected', this._folderSelected);
AppLayout.modalRegion.show(this.rootFolderLayout);
},