commit d7d4bc01d757cf23f71aaa81744440e8c6bdd981
parent 75727030650622288fcd9fba4046f8310ca9929e
Author: Dan Stillman <dstillman@zotero.org>
Date: Thu, 19 Feb 2009 20:35:04 +0000
Fixed "getFile() can only be called on attachment items" error whent here was a conflict set with both a regular item and an attachment
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/chrome/content/zotero/bindings/merge.xml b/chrome/content/zotero/bindings/merge.xml
@@ -63,7 +63,7 @@
}
// Check for note or attachment
- if (this.type == 'item') {
+ if (val instanceof Zotero.Item) {
this.type = this._getTypeFromItem(val);
}