[Pkg-javascript-commits] [sockjs-client] 362/434: When clearing form.are in JSONP set it to empty string instead of null - Maple / Samsung doesn't like null value.
Tonnerre Lombard
tonnerre-guest at moszumanska.debian.org
Wed Jan 8 00:47:25 UTC 2014
This is an automated email from the git hooks/post-receive script.
tonnerre-guest pushed a commit to branch master
in repository sockjs-client.
commit ca7b8381767d1cadd2823a8438f0001a6d285046
Author: Marek Majkowski <majek04 at gmail.com>
Date: Mon Mar 5 14:40:55 2012 +0000
When clearing form.are in JSONP set it to empty string instead of null - Maple / Samsung doesn't like null value.
---
lib/trans-sender.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/trans-sender.js b/lib/trans-sender.js
index 76d56f9..f213d41 100644
--- a/lib/trans-sender.js
+++ b/lib/trans-sender.js
@@ -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;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/sockjs-client.git
More information about the Pkg-javascript-commits
mailing list