Fix refreshing of Quick Copy list when resetting styles

This commit is contained in:
Dan Stillman 2013-05-10 14:49:29 -04:00
parent 6b61795d96
commit 5fbd569fdf

View file

@ -129,7 +129,9 @@ Zotero_Preferences.Advanced = {
if (index == 0) {
Zotero.Schema.resetTranslatorsAndStyles(function (xmlhttp, updated) {
this.populateQuickCopyList();
if (Zotero_Preferences.Export) {
Zotero_Preferences.Export.populateQuickCopyList();
}
});
}
},
@ -170,9 +172,10 @@ Zotero_Preferences.Advanced = {
null, null, null, {});
if (index == 0) {
var self = this;
Zotero.Schema.resetStyles(function (xmlhttp, updated) {
self.populateQuickCopyList();
if (Zotero_Preferences.Export) {
Zotero_Preferences.Export.populateQuickCopyList();
}
});
}
},