Properly scope a couple variables in Frank's patch
This commit is contained in:
parent
4f6491d6ad
commit
accce9f2b4
1 changed files with 2 additions and 1 deletions
|
@ -159,7 +159,8 @@ var Zotero_Citation_Dialog = new function () {
|
|||
if (itemID) {
|
||||
// _itemData[itemDataID] = new Object();
|
||||
_itemData[itemID] = new Object();
|
||||
for (box in _preserveData) {
|
||||
var element;
|
||||
for (var box in _preserveData) {
|
||||
element = document.getElementById(box);
|
||||
// _itemData[itemDataID][box] = element[_preserveData[box]];
|
||||
_itemData[itemID][box] = element[_preserveData[box]];
|
||||
|
|
Loading…
Reference in a new issue