You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by za...@apache.org on 2014/06/05 14:32:11 UTC

[6/9] git commit: default parameter added

default parameter added


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser/commit/846190a6
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser/tree/846190a6
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser/diff/846190a6

Branch: refs/heads/master
Commit: 846190a6f84a7f2ad01d36b3d1b78589aac1b8af
Parents: cd7916d
Author: Piotr Zalewa <pi...@zalewa.info>
Authored: Wed Jun 4 15:24:21 2014 +0200
Committer: Piotr Zalewa <pi...@zalewa.info>
Committed: Wed Jun 4 15:24:21 2014 +0200

----------------------------------------------------------------------
 src/firefoxos/InAppBrowserProxy.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser/blob/846190a6/src/firefoxos/InAppBrowserProxy.js
----------------------------------------------------------------------
diff --git a/src/firefoxos/InAppBrowserProxy.js b/src/firefoxos/InAppBrowserProxy.js
index f05689d..846f57a 100644
--- a/src/firefoxos/InAppBrowserProxy.js
+++ b/src/firefoxos/InAppBrowserProxy.js
@@ -47,7 +47,7 @@ var IABExecs = {
     open: function (win, lose, args) {
         var strUrl = args[0],
             target = args[1],
-            features_string = args[2],
+            features_string = args[2] || "location=yes", //location=yes is default
             features = {},
             url,
             elem;