cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject [15/22] android commit: Bugfix: Config parser for plugins with onload param. The functionality was broken in the move from plugins to feature tags.
Date Fri, 17 May 2013 00:55:07 GMT
Bugfix: Config parser for plugins with onload param.
The functionality was broken in the move from plugins to feature tags.

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

Branch: refs/heads/3.0.0
Commit: 13148728b3fbbf2c528d008660f378af35532048
Parents: 8f91ebf
Author: Shravan Narayan <shravanrn@google.com>
Authored: Thu May 16 15:41:59 2013 -0400
Committer: Shravan Narayan <shravanrn@google.com>
Committed: Thu May 16 15:41:59 2013 -0400

----------------------------------------------------------------------
 .../src/org/apache/cordova/api/PluginManager.java  |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-android/blob/13148728/framework/src/org/apache/cordova/api/PluginManager.java
----------------------------------------------------------------------
diff --git a/framework/src/org/apache/cordova/api/PluginManager.java b/framework/src/org/apache/cordova/api/PluginManager.java
index 9eb1308..e0ceabf 100755
--- a/framework/src/org/apache/cordova/api/PluginManager.java
+++ b/framework/src/org/apache/cordova/api/PluginManager.java
@@ -138,7 +138,7 @@ public class PluginManager {
                     else if (paramType.equals("package") || paramType.equals("android-package"))
                         pluginClass = xml.getAttributeValue(null,"value");
                     else if (paramType.equals("onload"))
-                        onload = "true".equals(xml.getAttributeValue(null, "onload"));
+                        onload = "true".equals(xml.getAttributeValue(null, "value"));
                 }
             }
             else if (eventType == XmlResourceParser.END_TAG)


Mime
View raw message