Commit 25a76b5e authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Turn permission checkboxes off when switching from editing one file to another


Signed-off-by: default avatarRichard Mansfield <richardm@catalyst.net.nz>
parent 1d44ff71
......@@ -217,6 +217,9 @@ function FileBrowser(idprefix, folderid, config, globalconfig) {
if (self.filedata[id].permissions[perm[1]] && self.filedata[id].permissions[perm[1]][perm[2]] == 1) {
elem.checked = true;
}
else {
elem.checked = false;
}
});
// $(self.id + '_edit_artefact').value = id; // Changes button text in IE
setNodeAttribute(self.id + '_edit_artefact', 'name', self.id + '_update[' + id + ']');
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment