FIX: Make sure we reset poll builder after inserting a poll.

This commit is contained in:
Guo Xiang Tan 2016-06-20 18:13:18 +08:00
parent b3a8f7d369
commit 6416ea9e09
No known key found for this signature in database
GPG Key ID: 19C321C8952B0F72
1 changed files with 1 additions and 0 deletions

View File

@ -152,6 +152,7 @@ export default Ember.Controller.extend({
insertPoll() {
this.get("toolbarEvent").addText(this.get("pollOutput"));
this.send("closeModal");
this._setupPoll();
}
}
});