Browse Source

fix(postmessagebackend): JS error when response is sent.

j8
hristoterezov 8 years ago
parent
commit
382b328262
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      modules/transport/PostMessageTransportBackend.js

+ 1
- 1
modules/transport/PostMessageTransportBackend.js View File

158
             // Transport class. That's why we are passing only the original
158
             // Transport class. That's why we are passing only the original
159
             // object passed by the consumer of the Transport class which is
159
             // object passed by the consumer of the Transport class which is
160
             // message.data.
160
             // message.data.
161
-            this._sendLegacyMessage(message.data);
161
+            this._sendLegacyMessage(message.data || {});
162
         }
162
         }
163
     }
163
     }
164
 
164
 

Loading…
Cancel
Save