mirror of
https://github.com/apache/cordova-android.git
synced 2025-02-07 23:03:11 +08:00
Merge branch 'master' of git://github.com/phonegap/phonegap-android
This commit is contained in:
commit
ff4ea29713
@ -47,6 +47,12 @@ var Connection = function() {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
function(e) {
|
function(e) {
|
||||||
|
// If we can't get the network info we should still tell PhoneGap
|
||||||
|
// to fire the deviceready event.
|
||||||
|
if (me._firstRun) {
|
||||||
|
me._firstRun = false;
|
||||||
|
PhoneGap.onPhoneGapConnectionReady.fire();
|
||||||
|
}
|
||||||
console.log("Error initializing Network Connection: " + e);
|
console.log("Error initializing Network Connection: " + e);
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user