shouldn't actually need bibliography-Integration at all

This commit is contained in:
Simon Kornblith 2009-04-04 07:10:29 +00:00
parent 41d8b7b341
commit 24654a8bce
2 changed files with 1 additions and 2 deletions

View file

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

View file

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