www

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

commit 0bb4b0afdd85521a73f82d7df042502877fcc715
parent 47dc4d78645d236d63b7e9aec6d28288e663a0c7
Author: Dan Stillman <dstillman@zotero.org>
Date:   Tue, 11 Jan 2011 19:44:27 +0000

Replace deprecated calls


Diffstat:
Mchrome/content/zotero/xpcom/quickCopy.js | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/chrome/content/zotero/xpcom/quickCopy.js b/chrome/content/zotero/xpcom/quickCopy.js @@ -167,7 +167,7 @@ Zotero.QuickCopy = new function() { var [mode, contentType] = mode.split('/'); if (mode == 'export') { - var translation = new Zotero.Translate("export"); + var translation = new Zotero.Translate.Export; translation.setItems(items); translation.setTranslator(format); translation.setHandler("done", callback); @@ -411,7 +411,7 @@ Zotero.QuickCopy = new function() { function _init() { - var translation = new Zotero.Translate("export"); + var translation = new Zotero.Translate.Export; var translators = translation.getTranslators(); // add styles to list