chore(palette): restore lanes

This commit is contained in:
Nico Rehwaldt 2015-09-02 16:23:47 +02:00
parent 7ba323b0a1
commit e897c6746d
2 changed files with 2 additions and 7 deletions

View File

@ -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;

View File

@ -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);
}));
});