You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2014/12/23 08:41:45 UTC
[22/28] git commit: [flex-asjs] [refs/heads/develop] - add beads on
send just in case
add beads on send just in case
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/0b646aef
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/0b646aef
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/0b646aef
Branch: refs/heads/develop
Commit: 0b646aefe5983a9aa9e2c144f01440b0f7f61ec2
Parents: c808046
Author: Alex Harui <ah...@apache.org>
Authored: Mon Dec 22 10:04:16 2014 -0800
Committer: Alex Harui <ah...@apache.org>
Committed: Mon Dec 22 10:04:16 2014 -0800
----------------------------------------------------------------------
frameworks/js/FlexJS/src/org/apache/flex/net/HTTPService.js | 7 +++++++
1 file changed, 7 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0b646aef/frameworks/js/FlexJS/src/org/apache/flex/net/HTTPService.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/net/HTTPService.js b/frameworks/js/FlexJS/src/org/apache/flex/net/HTTPService.js
index 0fa8400..eaf5448 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/net/HTTPService.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/net/HTTPService.js
@@ -313,6 +313,13 @@ org.apache.flex.net.HTTPService.prototype.set_url = function(value) {
org.apache.flex.net.HTTPService.prototype.send = function() {
var contentData, header, i, n, sawContentType, url;
+ if (this.strand == null && this.beads_) {
+ var m = this.beads_.length;
+ for (var j = 0; j < m; j++) {
+ this.addBead(this.beads_[j]);
+ }
+ }
+
this.element.onreadystatechange = goog.bind(this.progressHandler, this);
url = this.url_;