CB-8683 updated blackberry specific references of org.apache.cordova.camera to cordova-plugin-camera

This commit is contained in:
Steve Gill
2015-04-01 11:40:15 -07:00
parent d52b936bd8
commit ee4ac0d7b2
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ function showCameraDialog (done, cancel, fail) {
});
wv.on('JavaScriptCallback', function (evt, data) {
var args = JSON.parse(data).args;
if (args[0] === 'org.apache.cordova.camera') {
if (args[0] === 'cordova-plugin-camera') {
if (args[1] === 'cancel') {
cancel('User canceled');
} else if (args[1] === 'error') {