www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 2bd0019261f98a631a21e19463553272c1a2965f
parent a3375d540b972a8cf7fb14f3850278c341a60643
Author: Dan Stillman <dstillman@zotero.org>
Date:   Wed,  7 Aug 2013 17:09:41 -0400

'let' is valid in XBL, just not in event attributes, I guess

Diffstat:
Mchrome/content/zotero/bindings/itembox.xml | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/chrome/content/zotero/bindings/itembox.xml b/chrome/content/zotero/bindings/itembox.xml @@ -1423,7 +1423,7 @@ t.setAttribute('type', 'autocomplete'); t.setAttribute('autocompletesearch', 'zotero'); - var params = { + let params = { fieldName: fieldName, libraryID: this.item.libraryID }; @@ -1432,8 +1432,8 @@ // Include itemID and creatorTypeID so the autocomplete can // avoid showing results for creators already set on the item - var row = Zotero.getAncestorByTagName(elem, 'row'); - var creatorTypeID = parseInt( + let row = Zotero.getAncestorByTagName(elem, 'row'); + let creatorTypeID = parseInt( row.getElementsByClassName('creator-type-label')[0] .getAttribute('typeid') );