From 0bb4b0afdd85521a73f82d7df042502877fcc715 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Tue, 11 Jan 2011 19:44:27 +0000 Subject: [PATCH] Replace deprecated calls --- chrome/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 index 9f5d7bc51..d02d32870 100644 --- 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