Remove debug line when loading collections
This commit is contained in:
parent
ea1573e1c3
commit
41a68af1ae
1 changed files with 0 additions and 2 deletions
|
@ -98,8 +98,6 @@ Zotero.Collection.prototype.getName = function() {
|
||||||
* Populate collection data from a database row
|
* Populate collection data from a database row
|
||||||
*/
|
*/
|
||||||
Zotero.Collection.prototype.loadFromRow = function(row) {
|
Zotero.Collection.prototype.loadFromRow = function(row) {
|
||||||
Zotero.debug("Loading collection from row");
|
|
||||||
|
|
||||||
for each(let col in this.ObjectsClass.primaryFields) {
|
for each(let col in this.ObjectsClass.primaryFields) {
|
||||||
if (row[col] === undefined) {
|
if (row[col] === undefined) {
|
||||||
Zotero.debug('Skipping missing collection field ' + col);
|
Zotero.debug('Skipping missing collection field ' + col);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue