From e901cc1bf39780870cab8b0b30e882d28e405249 Mon Sep 17 00:00:00 2001 From: adam3smith Date: Tue, 23 Apr 2013 18:20:45 -0600 Subject: [PATCH] add Zotero protocoll --- chrome/content/zotero/xpcom/attachments.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/chrome/content/zotero/xpcom/attachments.js b/chrome/content/zotero/xpcom/attachments.js index 62658df519..5599f0b115 100644 --- a/chrome/content/zotero/xpcom/attachments.js +++ b/chrome/content/zotero/xpcom/attachments.js @@ -220,9 +220,10 @@ Zotero.Attachments = new function(){ Evernote (evernote://) OneNote (onenote://) Kindle (kindle://) - Logos (logosres:) */ + Logos (logosres:) + Zotero (zotero://) */ - var urlRe = /^((https?|evernote|onenote|brain|nv|mlo|kindle|x-devonthink-item|ftp):\/\/|logosres:)[^\s]*$/; + var urlRe = /^((https?|zotero|evernote|onenote|brain|nv|mlo|kindle|x-devonthink-item|ftp):\/\/|logosres:)[^\s]*$/; var matches = urlRe.exec(url); if (!matches) {