www

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

commit 4c4998b7f86ca215625ea2e9c91b37d520684ec5
parent 3f2a8a39ab5b35d9bfaaa90160670d95c80b8ab5
Author: Simon Kornblith <simon@simonster.com>
Date:   Wed,  3 Nov 2010 15:31:00 +0000

fix "me"


Diffstat:
Mchrome/content/zotero/xpcom/translation/translate.js | 7++++++-
1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/chrome/content/zotero/xpcom/translation/translate.js b/chrome/content/zotero/xpcom/translation/translate.js @@ -300,7 +300,7 @@ Zotero.Translate.Sandbox = { * @param {String} [error] The error string, if an error occurred. */ "done":function(translate, val, error) { - me.complete(typeof val === "undefined" ? true : val, (error ? error : "No error message specified")); + translate.complete(typeof val === "undefined" ? true : val, (error ? error : "No error message specified")); }, /** @@ -427,6 +427,11 @@ Zotero.Translate.Sandbox = { "Export":{ "nextItem":function(translate) { var item = translate._itemGetter.nextItem(); + + if(translate._displayOptions.hasOwnProperty("exportTags") && !translate._displayOptions["exportTags"]) { + item.tags = []; + } + translate._runHandler("itemDone", item); Zotero.wait(); return item;