Commit 98a639be authored by Frank Bergmann's avatar Frank Bergmann

- Workflow:

  Fixed URL for workflow GIF
parent 4329ff54
......@@ -180,19 +180,15 @@ if { $simple_p } {
if { [wf_graphviz_installed_p] } {
set dot_text [wf_generate_dot_representation workflow]
set tmpfile [wf_graphviz_dot_exec -to_file -output gif $dot_text]
set width_and_height ""
if { ![catch { set image_size [ns_gifsize $tmpfile] } error] } {
if { ![empty_string_p $image_size] } {
set width_and_height "width=[lindex $image_size 0] height=[lindex $image_size 1]"
}
}
ad_set_client_property wf wf_net_tmpfile $tmpfile
set workflow_img_tag "<img src=\"[im_workflow_url]/workflow-gif?[export_url_vars tmpfile]\" border=0 $width_and_height alt=\"Graphical representation of the process network\">"
set workflow_img_tag "<img src=\"/[im_workflow_url]/workflow-gif?[export_url_vars tmpfile]\" border=0 $width_and_height alt=\"Graphical representation of the process network\">"
} else {
set workflow_img_tag ""
......
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