2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-06 10:50:21 +08:00

FEATURE: improves composer-actions toggle menu

* only toggles
* fix a bug with presence
* more tests
* do not duplicate `continuing discussion...` text
* persist state to allow switching between toggles
This commit is contained in:
Joffrey JAFFEUX 2018-02-08 11:46:55 +01:00 committed by GitHub
parent 3b06e5502b
commit 190d208631
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 189 additions and 35 deletions

View file

@ -68,6 +68,10 @@ export default Ember.Component.extend({
this.clear();
if (this.get('action') !== 'reply' || this.get('action') !== 'edit') {
return;
}
this.publish({
response_needed: true,
previous: this.get('previousState'),