CB-7720 check if event is null since OK string from success callback was removed

github: close #68
This commit is contained in:
Edna Morales 2014-10-06 16:17:15 -04:00 committed by Marcel Kinard
parent 80010ae309
commit 8012ae709b

View File

@ -35,7 +35,7 @@ function InAppBrowser() {
InAppBrowser.prototype = {
_eventHandler: function (event) {
if (event.type in this.channels) {
if (event && (event.type in this.channels)) {
this.channels[event.type].fire(event);
}
},