Show More
@@ -72,13 +72,12 define(["components/underscore/underscore-min", | |||||
72 | // Send buffer if this message caused another message to be |
|
72 | // Send buffer if this message caused another message to be | |
73 | // throttled. |
|
73 | // throttled. | |
74 | if (this.msg_buffer != null && |
|
74 | if (this.msg_buffer != null && | |
75 |
this.msg_throttle == this.pending_msgs |
|
75 | this.msg_throttle == this.pending_msgs) { | |
76 | this.msg_buffer.length > 0) { |
|
|||
77 |
|
76 | |||
78 |
|
|
77 | var output_area = this._get_output_area(msg.parent_header.msg_id); | |
79 |
|
|
78 | var callbacks = this._make_callbacks(output_area); | |
80 |
|
|
79 | var data = {sync_method: 'update', sync_data: this.msg_buffer}; | |
81 |
|
|
80 | this.comm.send(data, callbacks); | |
82 |
|
|
81 | this.msg_buffer = null; | |
83 | } else { |
|
82 | } else { | |
84 |
|
83 |
General Comments 0
You need to be logged in to leave comments.
Login now