LT-275: Adding button to add labels to measurements

This commit is contained in:
Bruno Alves de Faria authored and Erik Ziegler committed 2016-11-15 08:24:30 +01:00
1 parent b1eb68521a
commit 3f0b9482d1
13 files changed
+77 -13

No files matched your search

@@ -79,6 +79,10 @@ Template.measureFlow.onRendered(() => {
});
Template.measureFlow.events({
'click, mousedown, mouseup'(event, instance) {
event.stopPropagation();
},
'click .measure-flow .btn-add, click .measure-flow .btn-rename'(event, instance) {
// Set the open state for the component
instance.state.set('open');
@@ -100,7 +104,7 @@ Template.measureFlow.events({
label: 'Assign label',
searchPlaceholder: 'Search labels',
storageKey: 'measureLabelCommon',
treeColumns: instance.data.treeColumns,
threeColumns: instance.data.threeColumns,
position
};