Bugfix for workflow editor.

This commit is contained in:
James Taylor
2008-08-27 15:51:59 -04:00
parent 4d4663c144
commit d294f00821
@@ -483,7 +483,8 @@ function prebuild_node( type, title_text, tool_id ) {
// zIndex tracking for bring to front
zmax = $("#canvas-container").data( "zmax" )
if ( ! zmax ) {
zmax = 0;
// Start above level where connectors are drawn
zmax = 20;
}
f.css( "zIndex", zmax + 1 );
$("#canvas-container").data( "zmax", zmax + 1 );