UX: Automatically generate poll name for poll builder.

This commit is contained in:
Guo Xiang Tan
2016-07-05 22:14:59 +08:00
parent 949be591da
commit 3cb8bbb851
4 changed files with 9 additions and 13 deletions
@@ -487,6 +487,7 @@ export default Ember.Component.extend({
applySurround: (head, tail, exampleKey) => this._applySurround(selected, head, tail, exampleKey),
applyList: (head, exampleKey) => this._applyList(selected, head, exampleKey),
addText: text => this._addText(selected, text),
getText: () => this.get('value'),
};
if (button.sendAction) {