summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaxime Quandalle <maxime@quandalle.com>2015-06-02 00:32:23 +0200
committerMaxime Quandalle <maxime@quandalle.com>2015-06-09 16:03:56 +0200
commit270236363abbfec7ae50a4545721d19ac37fcfe0 (patch)
tree2902f5030e00697724244e2b0e0b3dd0575fb621
parent46cc69153482a6138e1057ece9cec836dd95451e (diff)
downloadwekan-270236363abbfec7ae50a4545721d19ac37fcfe0.tar.gz
wekan-270236363abbfec7ae50a4545721d19ac37fcfe0.tar.bz2
wekan-270236363abbfec7ae50a4545721d19ac37fcfe0.zip
Automatically star new boards created with the header shortcut
-rw-r--r--client/components/boards/boardHeader.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/client/components/boards/boardHeader.js b/client/components/boards/boardHeader.js
index 714e4ed2..742d72bc 100644
--- a/client/components/boards/boardHeader.js
+++ b/client/components/boards/boardHeader.js
@@ -134,6 +134,9 @@ BlazeComponent.extendComponent({
});
Utils.goBoardId(boardId);
+
+ // Immediately star boards crated with the headerbar popup.
+ Meteor.user().toggleBoardStar(boardId);
},
events: function() {