Fix OPML import (regression from 5.0.78)
This commit is contained in:
parent
2acec4184a
commit
b0de59fe89
1 changed files with 1 additions and 1 deletions
|
@ -914,7 +914,7 @@ var ZoteroPane = new function()
|
|||
fp.appendFilter(Zotero.getString('fileInterface.OPMLFeedFilter'), '*.opml; *.xml');
|
||||
fp.appendFilters(fp.filterAll);
|
||||
if (await fp.show() == fp.returnOK) {
|
||||
var contents = await Zotero.File.getContentsAsync(fp.file.path);
|
||||
var contents = await Zotero.File.getContentsAsync(fp.file);
|
||||
var success = await Zotero.Feeds.importFromOPML(contents);
|
||||
if (success) {
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue