Skip to content

Commit

Permalink
WICKET-6517 check for null value
Browse files Browse the repository at this point in the history
  • Loading branch information
Sven Meier committed Feb 6, 2018
1 parent ec7a27e commit 1c39cd5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Expand Up @@ -663,7 +663,7 @@
try {
var formData = new FormData();
for (var i = 0; i < data.length; i++) {
formData.append(data[i].name, data[i].value);
formData.append(data[i].name, data[i].value || "");
}

data = formData;
Expand Down
1 change: 0 additions & 1 deletion wicket-core/src/test/js/ajax.js
Expand Up @@ -1012,7 +1012,6 @@ jQuery(document).ready(function() {

/**
* Submits a nested multipart form (represented with <div>).
* The submit uses <iframe>.
*
* https://issues.apache.org/jira/browse/WICKET-4673
*/
Expand Down

0 comments on commit 1c39cd5

Please sign in to comment.