some quick bugfixes

This commit is contained in:
Michael Foster 2013-09-15 14:19:25 +10:00
parent fdbd905d6f
commit 0367914e53

View File

@ -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,