mirror of
https://github.com/icecoder/ICEcoder.git
synced 2026-03-19 06:47:10 +01:00
Update perms BG color etc on change
This commit is contained in:
@@ -1459,6 +1459,9 @@ var ICEcoder = {
|
||||
// Get short URL for our file and get our target elem based on this
|
||||
shortURL = top.ICEcoder.selectedFiles[top.ICEcoder.selectedFiles.length-1].replace(/\|/g,"/");
|
||||
targetElem = top.get('filesFrame').contentWindow.document.getElementById(shortURL.replace(/\//g,"|")+"_perms");
|
||||
// Set the color for the perms
|
||||
targetElem.style.background = perms == 777 ? '#800' : 'none';
|
||||
targetElem.style.color = perms == 777 ? '#eee' : '#888';
|
||||
// Set the new perms
|
||||
targetElem.innerHTML = perms;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user