Misc new tree cleanup

This commit is contained in:
Adomas Venčkauskas 2021-04-09 12:00:34 +03:00 committed by Dan Stillman
parent d26eba2d2c
commit 47094fc4c3
21 changed files with 403 additions and 411 deletions

View file

@ -1,8 +1,8 @@
/*
***** BEGIN LICENSE BLOCK *****
Copyright © 2019 Center for History and New Media
George Mason University, Fairfax, Virginia, USA
Copyright © 2019 Corporation for Digital Scholarship
Vienna, Virginia, USA
http://zotero.org
This file is part of Zotero.

View file

@ -1,8 +1,8 @@
/*
***** BEGIN LICENSE BLOCK *****
Copyright © 2019 Center for History and New Media
George Mason University, Fairfax, Virginia, USA
Copyright © 2019 Corporation for Digital Scholarship
Vienna, Virginia, USA
http://zotero.org
This file is part of Zotero.

View file

@ -1,8 +1,8 @@
/*
***** BEGIN LICENSE BLOCK *****
Copyright © 2019 Center for History and New Media
George Mason University, Fairfax, Virginia, USA
Copyright © 2019 Corporation for Digital Scholarship
Vienna, Virginia, USA
http://zotero.org
This file is part of Zotero.

View file

@ -1,8 +1,8 @@
/*
***** BEGIN LICENSE BLOCK *****
Copyright © 2019 Center for History and New Media
George Mason University, Fairfax, Virginia, USA
Copyright © 2019 Corporation for Digital Scholarship
Vienna, Virginia, USA
http://zotero.org
This file is part of Zotero.

View file

@ -1,8 +1,8 @@
/*
***** BEGIN LICENSE BLOCK *****
Copyright © 2019 Center for History and New Media
George Mason University, Fairfax, Virginia, USA
Copyright © 2019 Corporation for Digital Scholarship
Vienna, Virginia, USA
http://zotero.org
This file is part of Zotero.

View file

@ -1,8 +1,8 @@
/*
***** BEGIN LICENSE BLOCK *****
Copyright © 2020 Center for History and New Media
George Mason University, Fairfax, Virginia, USA
Copyright © 2020 Corporation for Digital Scholarship
Vienna, Virginia, USA
http://zotero.org
This file is part of Zotero.

View file

@ -1,8 +1,8 @@
/*
***** BEGIN LICENSE BLOCK *****
Copyright © 2020 Center for History and New Media
George Mason University, Fairfax, Virginia, USA
Copyright © 2020 Corporation for Digital Scholarship
Vienna, Virginia, USA
http://zotero.org
This file is part of Zotero.

View file

@ -1,8 +1,8 @@
/*
***** BEGIN LICENSE BLOCK *****
Copyright © 2020 Center for History and New Media
George Mason University, Fairfax, Virginia, USA
Copyright © 2020 Corporation for Digital Scholarship
Vienna, Virginia, USA
http://zotero.org
This file is part of Zotero.

View file

@ -1,8 +1,8 @@
/*
***** BEGIN LICENSE BLOCK *****
Copyright © 2020 Center for History and New Media
George Mason University, Fairfax, Virginia, USA
Copyright © 2020 Corporation for Digital Scholarship
Vienna, Virginia, USA
http://zotero.org
This file is part of Zotero.

View file

@ -1292,14 +1292,6 @@ var ZoteroPane = new function()
*/
this.itemSelected = function () {
return Zotero.Promise.coroutine(function* () {
// Don't select item until items list has loaded
//
// This avoids an error if New Item is used while the pane is first loading.
// var promise = this.itemsView.waitForLoad();
// if (promise.isPending()) {
// yield promise;
// }
if (!this.itemsView || !this.itemsView.selection) {
Zotero.debug("Items view not available in itemSelected", 2);
return false;