From c257672b7c355c16779c777667d959cb4b7a4b05 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Sun, 15 Jul 2007 20:26:27 +0000 Subject: [PATCH] Closes #523 -- implement Title field like Extra field (except Enter still saves, since titles don't need newlines) --- chrome/content/zotero/itemPane.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/chrome/content/zotero/itemPane.js b/chrome/content/zotero/itemPane.js index 90f8a8be5..55a147fed 100644 --- a/chrome/content/zotero/itemPane.js +++ b/chrome/content/zotero/itemPane.js @@ -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); }