mirror of
https://github.com/icecoder/ICEcoder.git
synced 2026-03-08 01:26:47 +01:00
Set user defined perms on new file/dir
This commit is contained in:
@@ -1391,7 +1391,7 @@ var ICEcoder = {
|
||||
// Is this is a file or folder and based on that, set the CSS styling & link
|
||||
actionElemType = fileOrFolder;
|
||||
cssStyle = actionElemType=="file" ? "pft-file ext-" + file.substr(file.indexOf(".")+1) : "pft-directory";
|
||||
perms = actionElemType=="file" ? 664 : 705;
|
||||
perms = actionElemType=="file" ? top.ICEcoder.newFilePerms : top.ICEcoder.newDirPerms;
|
||||
|
||||
// Identify our target element & the first child element in it's location
|
||||
if (!location) {location="/"}
|
||||
|
||||
Reference in New Issue
Block a user