Browse files

Added quotes for delete database

  • Loading branch information...
1 parent 2ecf2cb commit 0c78df3d0377929c906d3e805294d9acfc342933 @axemclion committed Dec 2, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/shimIndexedDB.js
View
2 src/shimIndexedDB.js
@@ -147,7 +147,7 @@
}, dbError);
} else {
// Delete all tables in this database, maintained in the sys table
- tx.executeSql("DROP TABLE " + tables.item(i).name, [], function(){
+ tx.executeSql("DROP TABLE " + idbModules.util.quote(tables.item(i).name), [], function(){
deleteTables(i + 1);
}, function(){
deleteTables(i + 1);

0 comments on commit 0c78df3

Please sign in to comment.