www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 85914325aa859b16fc1bc376c0fea5e7fab6ddd0
parent 557a195b12164b3e3f783eeb18a4d1c02ebf15cd
Author: Dan Stillman <dstillman@zotero.org>
Date:   Fri, 18 Dec 2009 12:00:59 +0000

Make URL in attachment pane draggable, as suggested here: http://forums.zotero.org/discussion/8369/suggestion-grab-pdfother-image-from-saved-link/#Item_3

Should probably still make it possible to copy-and-paste it with the mouse at some point


Diffstat:
Mchrome/content/zotero/bindings/attachmentbox.xml | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/chrome/content/zotero/bindings/attachmentbox.xml b/chrome/content/zotero/bindings/attachmentbox.xml @@ -514,7 +514,8 @@ <button id="view" flex="1"/> <button id="show" label="&zotero.item.attachment.file.show;" flex="1"/> </hbox> - <label id="url" crop="end"/> + <label id="url" crop="end" + ondragstart="var dt = event.dataTransfer; dt.setData('text/x-moz-url', this.value); dt.setData('text/uri-list', this.value); dt.setData('text/plain', this.value);"/> <grid> <columns> <column/>