mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-13 09:12:52 +00:00
operation remove
This commit is contained in:
@@ -383,6 +383,7 @@ export function uiFieldLocalized(field, context) {
|
||||
label
|
||||
.append('button')
|
||||
.attr('class', 'remove-icon-multilingual')
|
||||
.attr('title', t('icons.remove'))
|
||||
.on('click', function(d3_event, d) {
|
||||
if (field.locked()) return;
|
||||
d3_event.preventDefault();
|
||||
|
||||
@@ -354,6 +354,7 @@ export function uiSectionRawMembershipEditor(context) {
|
||||
labelEnter
|
||||
.append('button')
|
||||
.attr('class', 'remove member-delete')
|
||||
.attr('title', t('icons.remove'))
|
||||
.call(svgIcon('#iD-operation-delete'))
|
||||
.on('click', deleteMembership);
|
||||
|
||||
@@ -421,6 +422,7 @@ export function uiSectionRawMembershipEditor(context) {
|
||||
newLabelEnter
|
||||
.append('button')
|
||||
.attr('class', 'remove member-delete')
|
||||
.attr('title', t('icons.remove'))
|
||||
.call(svgIcon('#iD-operation-delete'))
|
||||
.on('click', function() {
|
||||
list.selectAll('.member-row-new')
|
||||
|
||||
Reference in New Issue
Block a user