Fixed playlist pane not showing after modal removal change
This commit is contained in:
@@ -15,7 +15,8 @@ function (angular, $) {
|
||||
|
||||
elem.bind('click',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 @@
|
||||
|
||||
<div class="grafana-search-panel">
|
||||
<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>
|
||||
Playlist
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user