Add NS_ERROR_FILE_IS_LOCKED to file access check
This commit is contained in:
parent
080b3cad87
commit
a73a73d576
|
@ -351,7 +351,7 @@ Zotero.File = new function(){
|
|||
var opWord = "updated";
|
||||
}
|
||||
|
||||
if (e.name == 'NS_ERROR_FILE_ACCESS_DENIED'
|
||||
if (e.name == 'NS_ERROR_FILE_ACCESS_DENIED' || e.name == 'NS_ERROR_FILE_IS_LOCKED'
|
||||
// Shows up on some Windows systems
|
||||
|| e.name == 'NS_ERROR_FAILURE') {
|
||||
Zotero.debug(e);
|
||||
|
|
Loading…
Reference in New Issue
Block a user