Lack of interest XF:2 - Add clear fields to message.js

Snog

Well-known member
To aid in clearing fields that might be added to the quick reply form, it would be nice if this was added to message.js in the XF.QuickReply afterSubmit section:
Code:
this.$target.find('input:not(:checkbox), select, textarea').val('');
I've tested it and it is working when added just before $target.trigger('draft:sync');
 
Last edited:
Top