commit a73a73d5760e6ac62153da2891033c57d781827b parent 080b3cad87bcbb5aae6beedb472fd5bbc14d3ffa Author: Dan Stillman <dstillman@zotero.org> Date: Thu, 5 Jan 2012 02:13:29 -0500 Add NS_ERROR_FILE_IS_LOCKED to file access check Diffstat:
| M | chrome/content/zotero/xpcom/file.js | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/chrome/content/zotero/xpcom/file.js b/chrome/content/zotero/xpcom/file.js @@ -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);