Fixed playlist pane not showing after modal removal change

This commit is contained in:
Torkel Ödegaard
2014-08-29 08:44:38 +02:00
parent 12e2bf2f85
commit 20607c00b1
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -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 });
});
});
}
+1 -1
View File
@@ -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>