Fix regression that broke Date field tooltip
Field inputs are XUL in Z6, HTML in pre-redesign Z7, and XUL again in post-redesign Z7. We switched to the title attribute for HTML but didn't switch back to tooltipText when going back to XUL.
This commit is contained in:
parent
00ca99ae86
commit
7f993167b4
1 changed files with 1 additions and 2 deletions
|
@ -1526,8 +1526,7 @@
|
|||
// Display the SQL date as a tooltip for date fields
|
||||
// TEMP - filingDate
|
||||
if (Zotero.ItemFields.isFieldOfBase(fieldID, 'date') || fieldName == 'filingDate') {
|
||||
valueElement.setAttribute('title',
|
||||
Zotero.Date.multipartToSQL(this.item.getField(fieldName, true)));
|
||||
valueElement.tooltipText = Zotero.Date.multipartToSQL(this.item.getField(fieldName, true));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue