[BlackBerry10] Update bootstrap to fix exec error caused by rebasing
Project: http://git-wip-us.apache.org/repos/asf/cordova-js/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-js/commit/5be2dabc Tree: http://git-wip-us.apache.org/repos/asf/cordova-js/tree/5be2dabc Diff: http://git-wip-us.apache.org/repos/asf/cordova-js/diff/5be2dabc Branch: refs/heads/master Commit: 5be2dabc4bde38b59fa29d6dc656e0ef7a865dfd Parents: f0fb6ec Author: Bryan Higgins <bhigg...@blackberry.com> Authored: Wed Apr 17 14:55:43 2013 -0400 Committer: Bryan Higgins <bhigg...@blackberry.com> Committed: Fri May 3 09:50:04 2013 -0400 ---------------------------------------------------------------------- lib/scripts/bootstrap-blackberry10.js | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-js/blob/5be2dabc/lib/scripts/bootstrap-blackberry10.js ---------------------------------------------------------------------- diff --git a/lib/scripts/bootstrap-blackberry10.js b/lib/scripts/bootstrap-blackberry10.js index e359a15..836880f 100644 --- a/lib/scripts/bootstrap-blackberry10.js +++ b/lib/scripts/bootstrap-blackberry10.js @@ -112,7 +112,7 @@ delete cordova.callbacks[callbackId]; } else { didSucceed = response.code === cordova.callbackStatus.OK || response.code === cordova.callbackStatus.NO_RESULT; - cordova.callbackFromNative(callbackId, didSucceed, response.code, didSucceed ? response.data : response.msg, !!response.keepCallback); + cordova.callbackFromNative(callbackId, didSucceed, response.code, [ didSucceed ? response.data : response.msg ], !!response.keepCallback); } }, defineReadOnlyField: function (obj, field, value) {