commit 754bcb0ec9f55598fbd2230c14113a019513e678
parent 3878e8ac9c633621a3e4f721ecb1d001e68699e5
Author: Dan Stillman <dstillman@zotero.org>
Date: Sat, 30 Apr 2011 16:57:29 +0000
Show proper file-access-denied message on Windows
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/chrome/content/zotero/xpcom/file.js b/chrome/content/zotero/xpcom/file.js
@@ -365,7 +365,7 @@ Zotero.File = new function(){
var checkFileOther = "Check that the file is not currently "
+ "in use and that its permissions allow write access.";
var msg = str + " "
- + (!Zotero.isWin ? checkFileWindows : checkFileOther)
+ + (Zotero.isWin ? checkFileWindows : checkFileOther)
+ "\n\n"
+ "Restarting your computer or disabling security "
+ "software may also help.";