You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by jc...@apache.org on 2016/03/25 15:45:32 UTC

cordova-plugin-inappbrowser git commit: CB-7679 add fix for iOS upload. This closes #139

Repository: cordova-plugin-inappbrowser
Updated Branches:
  refs/heads/master 21f4de0e2 -> c6ff80311


CB-7679 add fix for iOS upload. This closes #139


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

Branch: refs/heads/master
Commit: c6ff803113eb71c39bf41a774204efdebcce0377
Parents: 21f4de0
Author: Birge Clark <bi...@zendesk.com>
Authored: Tue Jan 19 10:31:28 2016 -0800
Committer: Julio César <jc...@gmail.com>
Committed: Fri Mar 25 15:44:25 2016 +0100

----------------------------------------------------------------------
 src/ios/CDVInAppBrowser.m | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser/blob/c6ff8031/src/ios/CDVInAppBrowser.m
----------------------------------------------------------------------
diff --git a/src/ios/CDVInAppBrowser.m b/src/ios/CDVInAppBrowser.m
index 8e5a75e..7cffac3 100644
--- a/src/ios/CDVInAppBrowser.m
+++ b/src/ios/CDVInAppBrowser.m
@@ -998,6 +998,12 @@
 
 @implementation CDVInAppBrowserNavigationController : UINavigationController
 
+- (void) dismissViewControllerAnimated:(BOOL)flag completion:(void (^)(void))completion {
+    if ( self.presentedViewController) {
+        [super dismissViewControllerAnimated:flag completion:completion];
+    }
+}
+
 - (void) viewDidLoad {
 
     CGRect frame = [UIApplication sharedApplication].statusBarFrame;


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