mirror of
https://github.com/discourse/discourse.git
synced 2025-06-06 03:06:53 +08:00
FIX: Make sure we reset poll builder after inserting a poll.
This commit is contained in:
@ -152,6 +152,7 @@ export default Ember.Controller.extend({
|
|||||||
insertPoll() {
|
insertPoll() {
|
||||||
this.get("toolbarEvent").addText(this.get("pollOutput"));
|
this.get("toolbarEvent").addText(this.get("pollOutput"));
|
||||||
this.send("closeModal");
|
this.send("closeModal");
|
||||||
|
this._setupPoll();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user