Skip to content
Permalink
Browse files
Fixed callbackFromNative method
NO_RESULT status was resolved as failure.
  • Loading branch information
mdudek committed Jan 8, 2015
1 parent 7b1e8e1 commit 24dbb8099209d86a14f4161902d3e10fde9a75fe
Showing 1 changed file with 1 addition and 1 deletion.
@@ -209,7 +209,7 @@ var cordova = {
if (callback) {
if (isSuccess && status == cordova.callbackStatus.OK) {
callback.success && callback.success.apply(null, args);
} else {
} else if (!isSuccess) {
callback.fail && callback.fail.apply(null, args);
}

0 comments on commit 24dbb80

Please sign in to comment.