cockpit/themes/control/theme.js in cpee-2.1.25 vs cockpit/themes/control/theme.js in cpee-2.1.26
- old
+ new
@@ -522,10 +522,12 @@
'type': 'primitive',
'illustrator': {//{{{
'endnodes': 'this',
'svg': self.adaptor.theme_dir + 'symbols/parallel.svg',
'resolve_symbol': function(node) {
- if($(node).attr('cancel') == 'last' && $(node).attr('wait') == '-1') {
+ if($(node).children(':not(parallel_branch)').length > 0) {
+ return 'parallel_complex';
+ } else if($(node).attr('cancel') == 'last' && $(node).attr('wait') == '-1') {
return 'parallel_simple';
} else if($(node).attr('cancel') == 'first' && $(node).attr('wait') == '-1') {
return 'parallel_event_all';
} else if($(node).attr('cancel') == 'first' && $(node).attr('wait') == '1') {
return 'parallel_event_one';