From 4d9191ccd89fa6b77ab13aa87a5adce5cc5d3076 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Sun, 30 Jun 2013 01:46:50 -0400 Subject: [PATCH] Fixes #343, Add Item by Identifier textbox is truncated on second open --- chrome/content/zotero/lookup.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/chrome/content/zotero/lookup.js b/chrome/content/zotero/lookup.js index b7f10084c..6fc52b44d 100644 --- a/chrome/content/zotero/lookup.js +++ b/chrome/content/zotero/lookup.js @@ -173,7 +173,11 @@ const Zotero_Lookup = new function () { */ this.onShowing = function() { document.getElementById("zotero-lookup-panel").style.padding = "10px"; - + + // Workaround for field being truncated in middle + // https://github.com/zotero/zotero/issues/343 + this.toggleMultiline(true); + var identifierElement = Zotero_Lookup.toggleMultiline(false); Zotero_Lookup.toggleProgress(false); identifierElement.focus();