Added an error message if we try to save on a folder without the write permission.
This commit is contained in:
1 parent
9cae20cfe2
commit
c45bbd6cb0
1 file changed
+5
-1
@@ -154,7 +154,11 @@
|
||||
[*outError release];
|
||||
}
|
||||
|
||||
[self reloadFile:absoluteURL];
|
||||
if (*outError && [*outError code] == 101) {
|
||||
// Write persmission error, don't reload the file
|
||||
} else {
|
||||
[self reloadFile:absoluteURL];
|
||||
}
|
||||
|
||||
return YES;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user