Adds a progress bar for non quick-format integration actions
The progress percentage is based on the most recent transaction (or undeterminate if this is the first session transaction) Fix undefined function call error
This commit is contained in:
parent
5e5b567782
commit
593153eebe
8 changed files with 339 additions and 29 deletions
|
@ -305,9 +305,12 @@ describe("Zotero.Integration", function () {
|
|||
});
|
||||
|
||||
addEditCitationSpy = sinon.spy(Zotero.Integration.Interface.prototype, 'addEditCitation');
|
||||
|
||||
sinon.stub(Zotero.Integration.Progress.prototype, 'show');
|
||||
});
|
||||
|
||||
after(function() {
|
||||
Zotero.Integration.Progress.prototype.show.restore();
|
||||
Zotero.Integration.getApplication.restore();
|
||||
displayDialogStub.restore();
|
||||
addEditCitationSpy.restore();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue