Ticket #1818: csl-feedback.patch

File csl-feedback.patch, 680 bytes (added by fbennett, 5 years ago)

Patch to pass styleID, registry data and citation data on wrappedJSObject (io)

  • chrome/content/zotero/xpcom/integration.js

     
    20082008Zotero.Integration.Session.prototype.editCitation = function(index, noteIndex, citation) { 
    20092009        var me = this; 
    20102010        var io = new function() { this.wrappedJSObject = this; } 
     2011 
     2012        io.styleID = me.styleID; 
     2013        io.citationByIndex = me.style.registry.citationreg.citationByIndex; 
     2014        io.registry = me.style.registry.registry; 
    20112015         
    20122016        // if there's already a citation, make sure we have item IDs in addition to keys 
    20132017        if(citation) {