Skip to content

Commit

Permalink
Merge pull request #131 from quangpdt/merge-with-telerik
Browse files Browse the repository at this point in the history
Add failureCallback in parameters
  • Loading branch information
EddyVerbruggen authored Jun 27, 2018
2 parents eeadc51 + 5f5a5be commit 30aa389
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/imagepicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ ImagePicker.prototype.hasReadPermission = function(callback) {
return cordova.exec(callback, null, "ImagePicker", "hasReadPermission", []);
};

ImagePicker.prototype.requestReadPermission = function(callback) {
ImagePicker.prototype.requestReadPermission = function(callback, failureCallback) {
return cordova.exec(callback, failureCallback, "ImagePicker", "requestReadPermission", []);
};

Expand Down

0 comments on commit 30aa389

Please sign in to comment.