mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
Merge pull request #3963 from spalger/fix/3928
[visualize/editor] pull listeners over when copying state out of the url
This commit is contained in:
commit
949f67d8fb
1 changed files with 2 additions and 0 deletions
|
@ -170,6 +170,8 @@ define(function (require) {
|
|||
}
|
||||
|
||||
if (_.contains(keys, 'vis')) {
|
||||
$state.vis.listeners = _.defaults($state.vis.listeners || {}, vis.listeners);
|
||||
|
||||
// only update when we need to, otherwise colors change and we
|
||||
// risk loosing an in-progress result
|
||||
vis.setState($state.vis);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue