forked from github/cordova-android
Merge branch 'master' of git://github.com/phonegap/phonegap-android into contactSpec
This commit is contained in:
commit
8de6d9ce15
@ -289,7 +289,7 @@ PhoneGap.execAsync = function(success, fail, clazz, action, args) {
|
|||||||
var r = PluginManager.exec(clazz, action, callbackId, this.stringify(args), true);
|
var r = PluginManager.exec(clazz, action, callbackId, this.stringify(args), true);
|
||||||
|
|
||||||
// If a result was returned
|
// If a result was returned
|
||||||
if (typeof r == "string") {
|
if ((typeof r == "string") && (r.length > 0)) {
|
||||||
eval("var v="+r+";");
|
eval("var v="+r+";");
|
||||||
|
|
||||||
// If status is OK, then return value back to caller
|
// If status is OK, then return value back to caller
|
||||||
|
Loading…
x
Reference in New Issue
Block a user