commit 24654a8bceed0a5f4d7ecdfaa14e6dde10e906e4
parent 41d8b7b34108d772c79eafadf69de33fa278e039
Author: Simon Kornblith <simon@simonster.com>
Date: Sat, 4 Apr 2009 07:10:29 +0000
shouldn't actually need bibliography-Integration at all
Diffstat:
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/chrome/content/zotero/editBibliographyDialog.js b/chrome/content/zotero/editBibliographyDialog.js
@@ -138,7 +138,6 @@ var Zotero_Bibliography_Dialog = new function () {
if(_lastSelectedItem && editor.value != _originalBibEntry) {
Zotero.debug("setting bibliography for "+_lastSelectedItem.getID()+" to "+editor.value);
- _lastSelectedItem.setProperty("bibliography-Integration", editor.value);
_lastSelectedItem.setProperty("bibliography-RTF", editor.value);
}
diff --git a/chrome/content/zotero/xpcom/integration.js b/chrome/content/zotero/xpcom/integration.js
@@ -1557,7 +1557,7 @@ Zotero.Integration.Session.prototype.getBibliographyData = function() {
// look for custom bibliography entries
if(this.itemSet.items.length) {
for(var i=0; i<this.itemSet.items.length; i++) {
- var custom = this.itemSet.items[i].getProperty("bibliography-Integration");
+ var custom = this.itemSet.items[i].getProperty("bibliography-RTF");
if(custom !== "") {
if(!bibliographyData.custom) bibliographyData.custom = {};
bibliographyData.custom[this.itemSet.items[i].key] = custom;