commit 78a8e6b6229f4d44a861ba0f0e171c48a2345800
parent 706e16ccb9e24ccb2256906f4f0a56653303f68c
Author: Dan Stillman <dstillman@zotero.org>
Date: Tue, 12 Aug 2014 02:09:45 -0400
Fix breakage from 278e06e58 - Zotero.DataObject signature changed
Diffstat:
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/chrome/content/zotero/xpcom/data/collection.js b/chrome/content/zotero/xpcom/data/collection.js
@@ -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;
diff --git a/chrome/content/zotero/xpcom/data/item.js b/chrome/content/zotero/xpcom/data/item.js
@@ -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;
diff --git a/chrome/content/zotero/xpcom/search.js b/chrome/content/zotero/xpcom/search.js
@@ -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;