incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From macdo...@apache.org
Subject android commit: Fix calling cordova.plugin.storage.failQuery function from native code
Date Mon, 28 May 2012 13:38:10 GMT
Updated Branches:
  refs/heads/master d7b79f504 -> ccd436592


Fix calling  cordova.plugin.storage.failQuery function from native code


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

Branch: refs/heads/master
Commit: ccd4365922789defc39e6b7e2a32a7a2fc534610
Parents: d7b79f5
Author: Davide Bertola <dade@dadeb.it>
Authored: Sat May 26 08:46:57 2012 +0200
Committer: Davide Bertola <dade@dadeb.it>
Committed: Sat May 26 08:46:57 2012 +0200

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


http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/blob/ccd43659/framework/src/org/apache/cordova/Storage.java
----------------------------------------------------------------------
diff --git a/framework/src/org/apache/cordova/Storage.java b/framework/src/org/apache/cordova/Storage.java
index 98ec422..8cc29b7 100755
--- a/framework/src/org/apache/cordova/Storage.java
+++ b/framework/src/org/apache/cordova/Storage.java
@@ -175,7 +175,7 @@ public class Storage extends Plugin {
 			System.out.println("Storage.executeSql(): Error=" +  ex.getMessage());
 			
 			// Send error message back to JavaScript
-			this.sendJavascript("cordova.require('cordova/plugin/android/storage').fail('" + ex.getMessage()
+ "','" + tx_id + "');");
+			this.sendJavascript("cordova.require('cordova/plugin/android/storage').failQuery('" +
ex.getMessage() + "','" + tx_id + "');");
 		}
 	}
 


Mime
View raw message