Show proper file-access-denied message on Windows

This commit is contained in:
Dan Stillman 2011-04-30 16:57:29 +00:00
parent 3878e8ac9c
commit 754bcb0ec9

View file

@ -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.";