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

[6/6] cordova-plugin-inappbrowser git commit: CB-7784 Exit event is not fired after InAppBrowser closing

CB-7784 Exit event is not fired after InAppBrowser closing


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/e785533a
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser/tree/e785533a
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser/diff/e785533a

Branch: refs/heads/master
Commit: e785533ab4753ce0a98ea5ddccbaa5f965e959be
Parents: 3056997
Author: daserge <da...@yandex.ru>
Authored: Wed Oct 15 03:54:41 2014 +0400
Committer: sgrebnov <v-...@microsoft.com>
Committed: Wed Nov 12 22:35:10 2014 -0800

----------------------------------------------------------------------
 src/windows/InAppBrowserProxy.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser/blob/e785533a/src/windows/InAppBrowserProxy.js
----------------------------------------------------------------------
diff --git a/src/windows/InAppBrowserProxy.js b/src/windows/InAppBrowserProxy.js
index febb974..07fa79e 100644
--- a/src/windows/InAppBrowserProxy.js
+++ b/src/windows/InAppBrowserProxy.js
@@ -119,7 +119,7 @@ var IAB = {
 
                 browserWrap.onclick = function () {
                     setTimeout(function () {
-                        IAB.close();
+                        IAB.close(win);
                     }, 0);
                 };
 
@@ -191,7 +191,7 @@ var IAB = {
                 closeButton.innerText = "x";
                 closeButton.addEventListener("click", function (e) {
                     setTimeout(function () {
-                        IAB.close();
+                        IAB.close(win);
                     }, 0);
                 });
                


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org