mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-14 21:28:11 +02:00
Add basic title + description UI
This commit is contained in:
@@ -19,6 +19,7 @@ import {
|
||||
import {
|
||||
osmEntity,
|
||||
osmNote,
|
||||
impOsmError,
|
||||
krError
|
||||
} from '../osm';
|
||||
|
||||
@@ -170,10 +171,14 @@ export function behaviorSelect(context) {
|
||||
context
|
||||
.selectedNoteID(datum.id)
|
||||
.enter(modeSelectNote(context, datum.id));
|
||||
} else if (datum instanceof impOsmError & !isMultiselect) { // clicked an improveOSM error
|
||||
context
|
||||
.selectedErrorID(datum.id)
|
||||
.enter(modeSelectError(context, datum.id, 'ImproveOSM'));
|
||||
} else if (datum instanceof krError & !isMultiselect) { // clicked a krError error
|
||||
context
|
||||
.selectedErrorID(datum.id)
|
||||
.enter(modeSelectError(context, datum.id));
|
||||
.enter(modeSelectError(context, datum.id, 'KeepRight'));
|
||||
} else { // clicked nothing..
|
||||
context.selectedNoteID(null);
|
||||
context.selectedErrorID(null);
|
||||
|
||||
Reference in New Issue
Block a user