chore(palette): restore lanes
This commit is contained in:
parent
7ba323b0a1
commit
e897c6746d
|
@ -58,11 +58,9 @@ PaletteProvider.prototype.getPaletteEntries = function(element) {
|
|||
create.start(event, elementFactory.createParticipantShape(collapsed));
|
||||
}
|
||||
|
||||
/* TODO(nre): restore once not broken anymore
|
||||
function createLane(event) {
|
||||
create.start(event, elementFactory.createShape({ type: 'bpmn:Lane' }));
|
||||
}
|
||||
*/
|
||||
|
||||
assign(actions, {
|
||||
'lasso-tool': {
|
||||
|
@ -116,9 +114,7 @@ PaletteProvider.prototype.getPaletteEntries = function(element) {
|
|||
dragstart: createParticipant,
|
||||
click: createParticipant
|
||||
}
|
||||
}
|
||||
/* TODO(nre): restore once not broken anymore
|
||||
,
|
||||
},
|
||||
'create.lane': {
|
||||
group: 'collaboration',
|
||||
className: 'icon-lane',
|
||||
|
@ -128,7 +124,6 @@ PaletteProvider.prototype.getPaletteEntries = function(element) {
|
|||
click: createLane
|
||||
}
|
||||
}
|
||||
*/
|
||||
});
|
||||
|
||||
return actions;
|
||||
|
|
|
@ -27,7 +27,7 @@ describe('features/palette', function() {
|
|||
var entries = domQuery.all('.entry', paletteElement);
|
||||
|
||||
// then
|
||||
expect(entries.length).to.equal(9);
|
||||
expect(entries.length).to.equal(10);
|
||||
}));
|
||||
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue