fix "me"
This commit is contained in:
parent
3f2a8a39ab
commit
4c4998b7f8
1 changed files with 6 additions and 1 deletions
|
@ -300,7 +300,7 @@ Zotero.Translate.Sandbox = {
|
||||||
* @param {String} [error] The error string, if an error occurred.
|
* @param {String} [error] The error string, if an error occurred.
|
||||||
*/
|
*/
|
||||||
"done":function(translate, val, error) {
|
"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":{
|
"Export":{
|
||||||
"nextItem":function(translate) {
|
"nextItem":function(translate) {
|
||||||
var item = translate._itemGetter.nextItem();
|
var item = translate._itemGetter.nextItem();
|
||||||
|
|
||||||
|
if(translate._displayOptions.hasOwnProperty("exportTags") && !translate._displayOptions["exportTags"]) {
|
||||||
|
item.tags = [];
|
||||||
|
}
|
||||||
|
|
||||||
translate._runHandler("itemDone", item);
|
translate._runHandler("itemDone", item);
|
||||||
Zotero.wait();
|
Zotero.wait();
|
||||||
return item;
|
return item;
|
||||||
|
|
Loading…
Reference in a new issue