mirror of
https://github.com/sartography/bpmn-js.git
synced 2025-01-11 17:44:12 +00:00
parent
2c5548423b
commit
e487d6d811
@ -95,22 +95,17 @@ ContextPadProvider.prototype.getContextPadEntries = function(element) {
|
||||
action: function() {
|
||||
append(element, 'bpmn:TextAnnotation');
|
||||
}
|
||||
},
|
||||
'action.delete': {
|
||||
imageUrl: 'data:image/png;base64,' + images.TRASH,
|
||||
action: function(e) {
|
||||
modeling.removeShape(element);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
_.extend(actions, {
|
||||
'action.delete': {
|
||||
imageUrl: 'data:image/png;base64,' + images.TRASH,
|
||||
action: function(e) {
|
||||
console.log('action.delete', e);
|
||||
}
|
||||
}
|
||||
});
|
||||
*/
|
||||
|
||||
return actions;
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user