Show More
@@ -124,7 +124,12 b' define(["components/underscore/underscore-min",' | |||||
124 | } |
|
124 | } | |
125 |
|
125 | |||
126 | var data = {sync_method: method, sync_data: send_json}; |
|
126 | var data = {sync_method: method, sync_data: send_json}; | |
127 | var output_area = this.last_modified_view.output_area; |
|
127 | ||
|
128 | var output_area = null; | |||
|
129 | if (this.last_modified_view != undefined && this.last_modified_view != null) { | |||
|
130 | output_area = this.last_modified_view.output_area; | |||
|
131 | } | |||
|
132 | ||||
128 | var callbacks = this._make_callbacks(output_area); |
|
133 | var callbacks = this._make_callbacks(output_area); | |
129 | this.comm.send(data, callbacks); |
|
134 | this.comm.send(data, callbacks); | |
130 | this.pending_msgs++; |
|
135 | this.pending_msgs++; |
General Comments 0
You need to be logged in to leave comments.
Login now