# For some reason we seem to need to ns_urlencode the whole thing again when we use it in a javascript thing
if {$modifiable_p }{
set delete_url [ad_quotehtml "javascript:if(confirm('Are you sure you want to delete this transition?'))location.href='task-delete?[export_vars -url {workflow_key transition_key return_url}]'"]
set delete_url "javascript:if(confirm('Are you sure you want to delete this transition?'))location.href='task-delete?[export_vars -url {workflow_key transition_key}]'"
}
set edit_url "task-edit?[export_vars -url {workflow_key transition_key return_url}]"
set role_edit_url "role-edit?[export_vars -url {workflow_key role_key return_url}]"