mirror of
https://github.com/discourse/discourse.git
synced 2025-02-08 04:18:23 +00:00
FIX: Make sure we reset poll builder after inserting a poll.
This commit is contained in:
parent
b3a8f7d369
commit
6416ea9e09
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user