mirror of
https://github.com/apache/nifi.git
synced 2025-02-16 15:06:00 +00:00
NIFI-2965:
- Ensuring the selection is cleared when going to the Process Group where the selected component policy is defined. - Ensure that the selection context is updated when going to a component or group. This closes #1174.
This commit is contained in:
parent
89eb2ce28c
commit
aa8ba0bd1c
@ -295,6 +295,9 @@ nf.Actions = (function () {
|
||||
// select only the component/connection in question
|
||||
selection.classed('selected', true);
|
||||
nf.Actions.center(selection);
|
||||
|
||||
// inform Angular app that values have changed
|
||||
nf.ng.Bridge.digest();
|
||||
}
|
||||
},
|
||||
|
||||
|
@ -784,8 +784,16 @@ nf.PolicyManagement = (function () {
|
||||
|
||||
// build the mark up
|
||||
return $('<span>Showing effective policy inherited from Process Group </span>').append($('<span class="link"></span>').text(processGroupName).on('click', function () {
|
||||
// close the shell
|
||||
$('#shell-close-button').click();
|
||||
nf.CanvasUtils.enterGroup(processGroupId);
|
||||
|
||||
// load the correct group and unselect everything if necessary
|
||||
nf.CanvasUtils.enterGroup(processGroupId).done(function () {
|
||||
nf.CanvasUtils.getSelection().classed('selected', false);
|
||||
|
||||
// inform Angular app that values have changed
|
||||
nf.ng.Bridge.digest();
|
||||
});
|
||||
})).append('<span>.</span>');
|
||||
}
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user