I think you would need to get rid of
"
detailDropdown("Priority", "priority","pri", 1, 20,
true, "$args.priority.persistent_id", def_prio_enum,
"no", "$args.priority.COMMON_NAME_ATTR", def_prio_sym,
"", "", "no", "", "", "",
prio_string );
"
as well
Thanks _Chi