summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorMichael Foster <savetheinternet@tinyboard.org>2013-09-15 14:19:25 +1000
committerMichael Foster <savetheinternet@tinyboard.org>2013-09-15 14:19:25 +1000
commit0367914e5388a27b829b27ea6058e251b88703d2 (patch)
tree179c4be22ca802d5edfc01bd20a412c1647a8a15 /js
parentfdbd905d6f6e8cf9fedbb8dd80e9e4f8e12297dc (diff)
some quick bugfixes
Diffstat (limited to 'js')
-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,