Skip to content

Commit

Permalink
When clearing form.are in JSONP set it to empty string instead of nul…
Browse files Browse the repository at this point in the history
…l - Maple / Samsung doesn't like null value.
  • Loading branch information
majek committed Mar 5, 2012
1 parent dc62b10 commit ca7b838
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/trans-sender.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ var jsonPGenericSender = function(url, payload, callback) {
iframe.parentNode.removeChild(iframe);
iframe = null;
});
area.value = null;
area.value = '';
callback();
};
iframe.onerror = iframe.onload = completed;
Expand Down

0 comments on commit ca7b838

Please sign in to comment.