Skip to content

Commit

Permalink
Item13576: reset all of the form
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelDaum committed Sep 10, 2015
1 parent c224fd9 commit b0a944c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ This is an example of a simple AJAX comment submission.
$(form).find('[type=submit]').removeAttr('disabled', 'disabled');
$(form).find('[type=submit]').removeClass('foswikiButtonDisabled');
$("body").css("cursor", "default");
$(form).find("input[type=text], textarea").val("");
$(form)[0].reset();
},
error: function(jqXHR, textStatus, errorThrown) {
if (jqXHR.responseText)
Expand Down

0 comments on commit b0a944c

Please sign in to comment.