jlegewie/zotfile — Issue #26: only show zotfile menu items when z item or attachment is selected
Author: jlegewie
Created: 2012-02-13 12:54:06+00:00
State: open

use event listener as in ZoteroQuickLook

(in init function)
document.getElementById('zotero-itemmenu').addEventListener("popupshowing", this.showQuickLookMenu, false);