Fix breakage from 278e06e58
- Zotero.DataObject signature changed
This commit is contained in:
parent
706e16ccb9
commit
78a8e6b622
3 changed files with 3 additions and 3 deletions
|
@ -29,7 +29,7 @@ Zotero.Collection = function() {
|
|||
'childCollections',
|
||||
'childItems'
|
||||
];
|
||||
Zotero.DataObject.apply(this, ['collection', false, dataTypes]);
|
||||
Zotero.DataObject.apply(this, ['collection', dataTypes]);
|
||||
|
||||
this._name = null;
|
||||
this._parentID = null;
|
||||
|
|
|
@ -43,7 +43,7 @@ Zotero.Item = function(itemTypeOrID) {
|
|||
'collections',
|
||||
'relations'
|
||||
];
|
||||
Zotero.DataObject.apply(this, ['item', false, dataTypes]);
|
||||
Zotero.DataObject.apply(this, ['item', dataTypes]);
|
||||
|
||||
this._disabled = false;
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@ Zotero.Search = function() {
|
|||
'primaryData',
|
||||
'conditions'
|
||||
];
|
||||
Zotero.DataObject.apply(this, ['search', 'searches', dataTypes]);
|
||||
Zotero.DataObject.apply(this, ['search', dataTypes]);
|
||||
|
||||
this._name = null;
|
||||
|
||||
|
|
Loading…
Reference in a new issue