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:
parent
3b06e5502b
commit
190d208631
5 changed files with 189 additions and 35 deletions
|
@ -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'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue