incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shaz...@apache.org
Subject git commit: Fixed PGViewController PhoneGap.plist settings - settings were set before the webView was created.
Date Thu, 19 Jan 2012 21:35:53 GMT
Updated Branches:
  refs/heads/master c4b4c57e0 -> d56c7ccf4


Fixed PGViewController PhoneGap.plist settings - settings were set before the webView was
created.


Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/commit/d56c7ccf
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/tree/d56c7ccf
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/diff/d56c7ccf

Branch: refs/heads/master
Commit: d56c7ccf47bf51bfdde380ceb2397fc3d8edb683
Parents: c4b4c57
Author: Shazron Abdullah <shazron@apache.org>
Authored: Thu Jan 19 13:35:44 2012 -0800
Committer: Shazron Abdullah <shazron@apache.org>
Committed: Thu Jan 19 13:35:44 2012 -0800

----------------------------------------------------------------------
 PhoneGapLib/Classes/PGViewController.m |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/d56c7ccf/PhoneGapLib/Classes/PGViewController.m
----------------------------------------------------------------------
diff --git a/PhoneGapLib/Classes/PGViewController.m b/PhoneGapLib/Classes/PGViewController.m
index 75eb540..1cb2afe 100644
--- a/PhoneGapLib/Classes/PGViewController.m
+++ b/PhoneGapLib/Classes/PGViewController.m
@@ -116,6 +116,8 @@
         appURL = [NSURL fileURLWithPath:startFilePath];
     }
 
+    [ self createGapView];
+    
     ///////////////////
     
     NSNumber* enableLocation       = [settings objectForKey:@"EnableLocation"];
@@ -144,8 +146,6 @@
     
     ///////////////////
     
-    [ self createGapView];
-    
     if (!loadErr) {
         NSURLRequest *appReq = [NSURLRequest requestWithURL:appURL cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:20.0];
         [self.webView loadRequest:appReq];


Mime
View raw message