Fix double filename in progress popup when saving files
This appears to have started in a recent Fx version.
This commit is contained in:
parent
3dab61d581
commit
1d4dd9faac
1 changed files with 3 additions and 2 deletions
|
@ -2772,8 +2772,9 @@ Zotero.UnresponsiveScriptIndicator = new function() {
|
|||
Zotero.WebProgressFinishListener = function(onFinish) {
|
||||
this.onStateChange = function(wp, req, stateFlags, status) {
|
||||
//Zotero.debug('onStageChange: ' + stateFlags);
|
||||
if ((stateFlags & Components.interfaces.nsIWebProgressListener.STATE_STOP)
|
||||
&& (stateFlags & Components.interfaces.nsIWebProgressListener.STATE_IS_NETWORK)) {
|
||||
if (stateFlags & Components.interfaces.nsIWebProgressListener.STATE_STOP
|
||||
&& stateFlags & Components.interfaces.nsIWebProgressListener.STATE_IS_REQUEST
|
||||
&& stateFlags & Components.interfaces.nsIWebProgressListener.STATE_IS_NETWORK) {
|
||||
onFinish();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue