zotero / scaffold

Zotero translator creation IDE
http://www.zotero.org/support/dev/scaffold
38 stars 9 forks source link

Fix Type errors #23

Open zuphilip opened 9 years ago

zuphilip commented 9 years ago

Browser console gives a lot of warnings: TypeError: menulist.removeAllItems is not a function whith reference to scaffold.js:1129

Maybe just delete that line?

zuphilip commented 9 years ago

Can someone reproduce that? I had Scaffold previously open and worked with it but now it is closed. Every time I now open a new website this error message is popping up in my browser console.

zuphilip commented 8 years ago

Ah, okay, this is inside the _updateFrames() function for which an event is created onLoad:

        _browser.document.getElementById("content").tabContainer.addEventListener("TabSelect",
            _updateFrames, true);
        _browser.document.getElementById("appcontent").addEventListener("pageshow",
            _updateFrames, true);

Do we have to delete this event listener after we close scaffold? How?