From 9041a44f1d810be2cfc5c35f04f969896b2fc628 Mon Sep 17 00:00:00 2001 From: Welling Guzman Date: Fri, 11 Aug 2017 01:19:45 -0400 Subject: [PATCH] hide right pane on new items (Closes #1731) --- app/core/BasePageView.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/core/BasePageView.js b/app/core/BasePageView.js index b003a4b244168..f83832c340930 100644 --- a/app/core/BasePageView.js +++ b/app/core/BasePageView.js @@ -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(); }