From 328a198ae0e2989951690adb9a37a48c2d2a5f48 Mon Sep 17 00:00:00 2001 From: Paolo Bernasconi Date: Thu, 16 Oct 2014 23:24:05 -0400 Subject: [PATCH] fix(plugin:FB): fix showDialog param to use option --- src/plugins/facebook.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/facebook.js b/src/plugins/facebook.js index 9289b33a..9bac6821 100644 --- a/src/plugins/facebook.js +++ b/src/plugins/facebook.js @@ -46,10 +46,10 @@ angular.module('ngCordova.plugins.facebook', []) return q.promise; }, - showDialog: function (permissions) { + showDialog: function (options) { var q = $q.defer(); - facebookConnectPlugin.showDialog(permissions, + facebookConnectPlugin.showDialog(options, function (res) { q.resolve(res); },