Fixes #89, once an item is added to the library, the item list is no longer updated on delete
(I think--Simon, reopen if not)
This commit is contained in:
parent
257ed8f69b
commit
3b119d4c6e
1 changed files with 3 additions and 3 deletions
|
@ -114,8 +114,8 @@ Scholar.History = new function(){
|
||||||
* key is a hyphen-delimited list of columns identifying the row
|
* key is a hyphen-delimited list of columns identifying the row
|
||||||
* e.g. 'itemID-creatorID'
|
* e.g. 'itemID-creatorID'
|
||||||
*
|
*
|
||||||
* keyValues is a hyphen-delimited list of values matching the key parts
|
* keyValues is an array or hyphen-delimited string of values matching
|
||||||
* e.g. '1-1'
|
* the key parts (e.g. [1, 1] or '1-1')
|
||||||
*
|
*
|
||||||
* _field_ is optional -- otherwise all fields are saved
|
* _field_ is optional -- otherwise all fields are saved
|
||||||
**/
|
**/
|
||||||
|
@ -248,7 +248,7 @@ Scholar.History = new function(){
|
||||||
+ "transactions WHERE transactionSetID=" + (_currentID + 1));
|
+ "transactions WHERE transactionSetID=" + (_currentID + 1));
|
||||||
|
|
||||||
if (!min){
|
if (!min){
|
||||||
Scholar.DB.rollbackTransaction();
|
Scholar.DB.commitTransaction();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue