incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From purplecabb...@apache.org
Subject [8/8] wp7 commit: cleanup console logging, toLower on OverrideBackButton
Date Fri, 13 Apr 2012 00:32:19 GMT
cleanup console logging, toLower on OverrideBackButton


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

Branch: refs/heads/master
Commit: 769b03a32b39d4b70cbf9c72f48df246f53aedd4
Parents: be95a00
Author: Jesse MacFadyen <purplecabbage@gmail.com>
Authored: Tue Apr 10 18:21:03 2012 -0700
Committer: Jesse MacFadyen <purplecabbage@gmail.com>
Committed: Tue Apr 10 18:21:03 2012 -0700

----------------------------------------------------------------------
 framework/CordovaView.xaml.cs |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/blob/769b03a3/framework/CordovaView.xaml.cs
----------------------------------------------------------------------
diff --git a/framework/CordovaView.xaml.cs b/framework/CordovaView.xaml.cs
index d172a27..5c30584 100644
--- a/framework/CordovaView.xaml.cs
+++ b/framework/CordovaView.xaml.cs
@@ -389,9 +389,6 @@ namespace WP7CordovaClassLib
         {
             string commandStr = e.Value;
 
-            Debug.WriteLine("ScriptNotify::" + commandStr);
-
-            // DOMStorage/Local OR DOMStorage/Session
             if (commandStr.IndexOf("DOMStorage") == 0)
             {
                 this.domStorageHelper.HandleStorageCommand(commandStr);
@@ -416,7 +413,7 @@ namespace WP7CordovaClassLib
                 {
                     case "overridebackbutton":
                         string args = commandCallParams.Args;
-                        this.OverrideBackButton = (args != null && args.Length >
0 && args == "true");
+                        this.OverrideBackButton = (args != null && args.Length >
0 && args.ToLower() == "true");
                         break;
                 }
             }


Mime
View raw message