Browse files

Correct a bug in the last commit.

  • Loading branch information...
1 parent 654dcfd commit 86aeba4532d23be3f9b89b465676470cbb0c945f @pygy pygy committed Mar 4, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 sqlite.js
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);
}
}

0 comments on commit 86aeba4

Please sign in to comment.