www

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

commit 24cd01e16fdb3150ac94108bbe1e9dad97102af3
parent b1e9a83f4e1d4692d39cb4308738f7c59c743f5e
Author: Dan Stillman <dstillman@zotero.org>
Date:   Sun, 26 Jul 2009 10:51:12 +0000

Fix "url.match is not a function" error with integers in URL field


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

diff --git a/chrome/content/zotero/bindings/itembox.xml b/chrome/content/zotero/bindings/itembox.xml @@ -553,7 +553,7 @@ <body> <![CDATA[ var url = this.item.getField('url'); - return url && !url.match(/^file:|^zotero:/); + return url && url.match && !url.match(/^file:|^zotero:/); ]]> </body> </method>