cockpit/lib/wfadaptor.js in cpee-1.3.133 vs cockpit/lib/wfadaptor.js in cpee-1.3.134
- old
+ new
@@ -331,10 +331,10 @@
$(this).attr('svg-id', tname + '_' + (++id_counter[tname]));
$(this).attr('svg-label', '');
} else {
$(this).attr('svg-id', $(this).attr('id'));
if ($(this).children('parameters').length > 0) {
- $(this).attr('svg-label', $('label',$(this).children('parameters')).text());
+ $(this).attr('svg-label', $('label',$(this).children('parameters')).text().replace(/^['"]/,'').replace(/['"]$/,''));
} else {
$(this).attr('svg-label', '');
}
} // }}}
// Calculate next position {{{