Commit bb2015bb authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Make loggedin user access sticky when loading view access screen & a copy option is selected

parent 798250b4
......@@ -214,7 +214,6 @@ function ensure_loggedin_access() {
elem.value = '';
elem.disabled = true;
}
});
}
function relax_loggedin_access() {
......@@ -304,6 +303,7 @@ addLoadEvent(function () {
renderAccessListItem(item);
});
}
update_loggedin_access();
});
addLoadEvent(function() {
......
......@@ -173,6 +173,8 @@ addLoadEvent(function() {
});
});
EOF;
} else {
$js .= "function update_loggedin_access() {}\n";
}
$form['elements']['accesslist'] = array(
......
Supports Markdown
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