Skip to content
Snippets Groups Projects
Commit c2939d73 authored by rswindell's avatar rswindell
Browse files

Use User.compar_ars() to filter out external editors with non-blank access

requirement strings, but set the ANSI flag.
parent b9cf806c
No related branches found
No related tags found
No related merge requests found
......@@ -409,7 +409,11 @@ function gen_editor_list(current) {
var retval="";
retval='<select name="editor">\n';
retval+='<option value=""'+(current==''?' selected':'')+'>Internal Line Editor</option>\n';
user.settings|=USER_ANSI;
user.cached=true;
for(ed in xtrn_area.editor) {
if(!user.compare_ars(xtrn_area.editor[ed].ars))
continue;
retval+='<option value="'+ed+'"'+(current==ed?' selected':'')+'>'+xtrn_area.editor[ed].name+'</option>\n';
}
retval+='</select>';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment