diff --git a/app/classifier/tasks/combo/editor.cjsx b/app/classifier/tasks/combo/editor.cjsx index 323c43982f..1159817664 100644 --- a/app/classifier/tasks/combo/editor.cjsx +++ b/app/classifier/tasks/combo/editor.cjsx @@ -7,6 +7,7 @@ ComboTaskEditor = createReactClass getDefaultProps: -> workflow: null task: null + taskPrefix: '' onChange: -> componentWillMount: () -> @@ -47,6 +48,7 @@ ComboTaskEditor = createReactClass render: -> + [root, taskKey] = @props.taskPrefix.split '.' tasks = require('..').default
Add any number of tasks here and they'll be shown in one step.
@@ -77,7 +79,7 @@ ComboTaskEditor = createReactClass
This overrides anything set by a sub-task.
diff --git a/app/classifier/tasks/dropdown/editor.jsx b/app/classifier/tasks/dropdown/editor.jsx
index d77bd47d8c..41b42a6479 100644
--- a/app/classifier/tasks/dropdown/editor.jsx
+++ b/app/classifier/tasks/dropdown/editor.jsx
@@ -120,6 +120,7 @@ export default class DropdownEditor extends React.Component {
}
render() {
+ const [root, taskKey] = this.props.taskPrefix.split('.');
const handleChange = handleInputChange.bind(this.props.workflow);
const selects = this.props.task.selects;
@@ -218,7 +219,7 @@ export default class DropdownEditor extends React.Component {
Next task