diff --git a/chrome/chromeFiles/content/scholar/xpcom/db.js b/chrome/chromeFiles/content/scholar/xpcom/db.js index a08f5c353..2940433be 100644 --- a/chrome/chromeFiles/content/scholar/xpcom/db.js +++ b/chrome/chromeFiles/content/scholar/xpcom/db.js @@ -19,6 +19,7 @@ Scholar.DB = new function(){ this.beginTransaction = beginTransaction; this.commitTransaction = commitTransaction; this.rollbackTransaction = rollbackTransaction; + this.transactionInProgress = transactionInProgress; ///////////////////////////////////////////////////////////////// // @@ -232,6 +233,12 @@ Scholar.DB = new function(){ } + function transactionInProgress(){ + var db = _getDBConnection(); + return db.transactionInProgress; + } + + function getColumns(table){ var db = _getDBConnection();