Closes #523 -- implement Title field like Extra field (except Enter still saves, since titles don't need newlines)

This commit is contained in:
Dan Stillman 2007-07-15 20:26:27 +00:00
parent b2284f2404
commit c257672b7c

View File

@ -1028,8 +1028,7 @@ var ZoteroItemPane = new function()
t.setAttribute('singleField', elem.getAttribute('singleField'));
}
if (fieldName == 'abstractNote' || fieldName == 'extra')
{
if (['title', 'abstractNote', 'extra'].indexOf(fieldName) != -1) {
t.setAttribute('multiline', true);
t.setAttribute('rows', 8);
}