Permalink
Browse files

Merge pull request #6 from pygy/patch-1

Correct a bug in the last commit.
2 parents c18c46b + 86aeba4 commit e89578f3d00ffd7d22de064a160f92f5d87229b6 @grumdrig committed Mar 4, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 sqlite.js
View
@@ -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 e89578f

Please sign in to comment.