diff --git a/www/plugins.FileOpener2.js b/www/plugins.FileOpener2.js index e6f0e6c..725a4ad 100644 --- a/www/plugins.FileOpener2.js +++ b/www/plugins.FileOpener2.js @@ -43,8 +43,8 @@ FileOpener2.prototype.uninstall = function (packageId, callbackContext) { exec(callbackContext.success || null, callbackContext.error || null, 'FileOpener2', 'uninstall', [packageId]); }; -FileOpener2.prototype.appIsInstalled = function (packageId, options) { - options = options || {}; +FileOpener2.prototype.appIsInstalled = function (packageId, callbackContext) { + callbackContext = callbackContext || {}; exec(options.success || null, options.error || null, 'FileOpener2', 'appIsInstalled', [packageId]); };