1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2025-02-18 03:37:35 +01:00

some quick bugfixes

This commit is contained in:
Michael Foster 2013-09-15 14:19:25 +10:00
parent d4767b536a
commit bc41892255

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,