You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by sh...@apache.org on 2013/07/25 00:52:13 UTC
ios commit: [CB-4355] Localstorage plugin handles options incorrectly
(the settings key is specified with upper case chars)
Updated Branches:
refs/heads/master 9d204382f -> 066753fa9
[CB-4355] Localstorage plugin handles options incorrectly (the settings key is specified with upper case chars)
Project: http://git-wip-us.apache.org/repos/asf/cordova-ios/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-ios/commit/066753fa
Tree: http://git-wip-us.apache.org/repos/asf/cordova-ios/tree/066753fa
Diff: http://git-wip-us.apache.org/repos/asf/cordova-ios/diff/066753fa
Branch: refs/heads/master
Commit: 066753fa945dcbc546ef5a12321e5472583b9b4b
Parents: 9d20438
Author: Shazron Abdullah <sh...@apache.org>
Authored: Wed Jul 24 15:52:02 2013 -0700
Committer: Shazron Abdullah <sh...@apache.org>
Committed: Wed Jul 24 15:52:02 2013 -0700
----------------------------------------------------------------------
CordovaLib/Classes/CDVLocalStorage.m | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/066753fa/CordovaLib/Classes/CDVLocalStorage.m
----------------------------------------------------------------------
diff --git a/CordovaLib/Classes/CDVLocalStorage.m b/CordovaLib/Classes/CDVLocalStorage.m
index 238d680..9dcf5c1 100644
--- a/CordovaLib/Classes/CDVLocalStorage.m
+++ b/CordovaLib/Classes/CDVLocalStorage.m
@@ -35,7 +35,7 @@
{
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(onResignActive)
name:UIApplicationWillResignActiveNotification object:nil];
- BOOL cloudBackup = [@"cloud" isEqualToString : self.commandDelegate.settings[@"BackupWebStorage"]];
+ BOOL cloudBackup = [@"cloud" isEqualToString : self.commandDelegate.settings[[@"BackupWebStorage" lowercaseString]]];
self.backupInfo = [[self class] createBackupInfoWithCloudBackup:cloudBackup];
}