Fix breakage from 278e06e58 - Zotero.DataObject signature changed

This commit is contained in:
Dan Stillman 2014-08-12 02:09:45 -04:00
parent 706e16ccb9
commit 78a8e6b622
3 changed files with 3 additions and 3 deletions

View file

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

View file

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

View file

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