Skip to content

Commit

Permalink
Also load drafts column contents for currently open window
Browse files Browse the repository at this point in the history
  • Loading branch information
jperryhouts committed Nov 22, 2020
1 parent cde8994 commit e418b00
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion experiments/headerView.js
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,10 @@ var SendLaterHeaderView = {
document.getElementById("folderTree").addEventListener(
"select", this.hideShowColumn.bind(this), false);
// onLoad may have run when a folder is already being displayed.
try { this.hideShowColumn(); } catch (ex) { /* or maybe not */ }
try {
this.hideShowColumn();
this.columnHandlerObserver.observe();
} catch (ex) { /* or maybe not */ }
AddonManager.addAddonListener(this.AddonListener);
SLStatic.debug("Leaving function","SendLaterHeaderView.onLoad");
},
Expand Down

0 comments on commit e418b00

Please sign in to comment.