Skip to content

Correct a bug in the last commit. #6

Merged
merged 1 commit into from Mar 4, 2012
+1 −1
View
2 sqlite.js
@@ -137,7 +137,7 @@ function SQLTransactionSync(db, txCallback, errCallback, successCallback) {
if (!this.rolledBack && successCallback) {
successCallback(this);
- } else if (errCallback) {
+ } else if (this.rolledBack && errCallback) {
errCallback(this);
}
}
Something went wrong with that request. Please try again.