algairim commented on a change in pull request #207:
URL: https://github.com/apache/brooklyn-ui/pull/207#discussion_r642869699
##########
File path:
ui-modules/blueprint-composer/app/components/spec-editor/spec-editor.directive.js
##########
@@ -406,11 +414,18 @@ export function specEditorDirective($rootScope,
$templateCache, $injector, $sani
}
return $filter('specEditorConfig')(allConfig,
scope.state.config.filter.values).indexOf(config) === -1;
};
+ specEditor.recordFocus = (subsection, name) => {
+ scope.state.focus.subsection = subsection;
+ scope.state.focus.name = name;
+ };
Review comment:
A single subsection must be in focus only. Previously, only the last
subsection was focused on refresh (when DSL menu closes) if multiple expected
to be in focus, like property or configuration at the same time.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]