Fixes #343, Add Item by Identifier textbox is truncated on second open

This commit is contained in:
Dan Stillman 2013-06-30 01:46:50 -04:00
parent d1e2ea57a5
commit 4d9191ccd8

View File

@ -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();