diff --git a/chrome/content/zotero/zoteroPane.js b/chrome/content/zotero/zoteroPane.js index 01b5e54f9b..7aa4cabe88 100644 --- a/chrome/content/zotero/zoteroPane.js +++ b/chrome/content/zotero/zoteroPane.js @@ -956,14 +956,12 @@ var ZoteroPane = new function() Zotero.getString('pane.collections.newCollection'), Zotero.getString('pane.collections.name'), newName, "", {}); - if (!result) - { + if (!result) { return; } - if (!newName.value) - { - newName.value = untitled; + if (!newName.value) { + newName.value = name; } var collection = new Zotero.Collection;