Skip to content

Commit

Permalink
hide right pane on new items (Closes #1731)
Browse files Browse the repository at this point in the history
  • Loading branch information
wellingguzman committed Aug 11, 2017
1 parent f55d50d commit 9041a44
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/core/BasePageView.js
Expand Up @@ -72,7 +72,9 @@ define([
if (this.isRightPaneOpen()) {
this.on('afterRender', this.loadRightPane, this);
} else if (this.shouldRightPaneOpen()) {
this.on('afterRender', this.openRightPane, this);
this.on('afterRender', function () {
this.openRightPane();
}, this);
} else {
this._ensurePaneIsClosed();
}
Expand Down

0 comments on commit 9041a44

Please sign in to comment.