parent
2c5548423b
commit
e487d6d811
|
@ -95,24 +95,19 @@ 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;
|
||||
};
|
||||
|
||||
|
||||
module.exports = ContextPadProvider;
|
||||
module.exports = ContextPadProvider;
|
||||
|
|
Loading…
Reference in New Issue