summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--js/ajax.js3
1 files changed, 2 insertions, 1 deletions
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,