Commit 20607c00 by Torkel Ödegaard

Fixed playlist pane not showing after modal removal change

parent 12e2bf2f
...@@ -15,7 +15,8 @@ function (angular, $) { ...@@ -15,7 +15,8 @@ function (angular, $) {
elem.bind('click',function() { elem.bind('click',function() {
$timeout(function() { $timeout(function() {
scope.emitAppEvent('show-dash-editor', { src: partial, scope: scope }); var editorScope = attrs.editorScope === 'isolated' ? null : scope;
scope.emitAppEvent('show-dash-editor', { src: partial, scope: editorScope });
}); });
}); });
} }
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
<div class="grafana-search-panel"> <div class="grafana-search-panel">
<div class="search-field-wrapper"> <div class="search-field-wrapper">
<button class="btn btn-success pull-right" dash-editor-link="app/partials/playlist.html"> <button class="btn btn-success pull-right" dash-editor-link="app/partials/playlist.html" editor-scope="isolated">
<i class="icon-play"></i> <i class="icon-play"></i>
Playlist Playlist
</button> </button>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment