webcss / angular-indexedDB

An angularjs serviceprovider to utilize indexedDB with angular
149 stars 99 forks source link

Fix Database error: undefined and count returns IDBRequest instead of result #30

Closed corburn closed 10 years ago

corburn commented 10 years ago

In Google Chrome e.target.errorCode is undefined. Adding e.target.error.message fixes the Database error: undefined I received when upgrading the database and the transaction was aborted. The same change was made to the onTransactionError function assuming the same applies.

bramski commented 10 years ago

Hey corburn. Talked with @webcss and this project is being moved. Can you rebase and add your pull request to: https://github.com/bramski/angular-indexedDB please?

corburn commented 10 years ago

Hi @bramski. The pull request has been rebased onto your branch.