mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: when changing category, watch for pasted link in title field
This commit is contained in:
parent
e85904b98f
commit
eb23a8c173
@ -31,7 +31,7 @@ export default Ember.Component.extend({
|
||||
}
|
||||
},
|
||||
|
||||
@observes('composer.titleLength')
|
||||
@observes('composer.titleLength', 'watchForLink')
|
||||
_titleChanged() {
|
||||
if (this.get('composer.titleLength') === 0) { this.set('autoPosted', false); }
|
||||
if (this.get('autoPosted') || !this.get('watchForLink')) { return; }
|
||||
|
Loading…
Reference in New Issue
Block a user