mirror of
https://github.com/discourse/discourse.git
synced 2025-05-23 22:11:26 +08:00
Don't disable the composer's submit button. Let it be clicked to cause validation error messages to show.
This commit is contained in:
@ -94,6 +94,10 @@ export default Discourse.Controller.extend({
|
||||
return false;
|
||||
},
|
||||
|
||||
disableSubmit: function() {
|
||||
return this.get('model.loading');
|
||||
}.property('model.loading'),
|
||||
|
||||
save: function(force) {
|
||||
var composer = this.get('model'),
|
||||
self = this;
|
||||
|
Reference in New Issue
Block a user