From 0367914e5388a27b829b27ea6058e251b88703d2 Mon Sep 17 00:00:00 2001 From: Michael Foster Date: Sun, 15 Sep 2013 14:19:25 +1000 Subject: [PATCH] some quick bugfixes --- js/ajax.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/ajax.js b/js/ajax.js index 49470145..5c182add 100644 --- a/js/ajax.js +++ b/js/ajax.js @@ -60,7 +60,8 @@ $(window).ready(function() { $(form).find('input[type="submit"]').val(submit_txt); $(form).find('input[type="submit"]').removeAttr('disabled'); - $(form).find('input[name="subject"],textarea[name="body"],input[type="file"]').val(''); + $(form).find('input[name="subject"],input[name="file_url"],\ + textarea[name="body"],input[type="file"]').val('').change(); }, cache: false, contentType: false,