From 6865e950a1f46368bef3ba0a77f82dbb0173d950 Mon Sep 17 00:00:00 2001 From: Vincent Roth Date: Tue, 11 Dec 2018 19:08:24 +0100 Subject: [PATCH] reset appIsInstalled exec --- www/plugins.FileOpener2.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/plugins.FileOpener2.js b/www/plugins.FileOpener2.js index 725a4ad..7e064c4 100644 --- a/www/plugins.FileOpener2.js +++ b/www/plugins.FileOpener2.js @@ -45,7 +45,7 @@ FileOpener2.prototype.uninstall = function (packageId, callbackContext) { FileOpener2.prototype.appIsInstalled = function (packageId, callbackContext) { callbackContext = callbackContext || {}; - exec(options.success || null, options.error || null, 'FileOpener2', 'appIsInstalled', [packageId]); + exec(callbackContext.success || null, callbackContext.error || null, 'FileOpener2', 'appIsInstalled', [packageId]); }; module.exports = new FileOpener2();