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

This suggestion has been closed automatically because it did not receive enough votes over an extended period of time. If you wish to see this, please search for an open suggestion and, if you don't find any, post a new one.

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:
Upvote 0
This suggestion has been closed. Votes are no longer accepted.
Back
Top Bottom