Commit 285d246c by Torkel Ödegaard

PanelMenu: fixed interpolate template vars for new panel title/menu

parent 2c852052
...@@ -9,7 +9,7 @@ function (angular, $, _) { ...@@ -9,7 +9,7 @@ function (angular, $, _) {
angular angular
.module('grafana.directives') .module('grafana.directives')
.directive('panelMenu', function($compile) { .directive('panelMenu', function($compile) {
var linkTemplate = '<a class="panel-title">{{panel.title || interpolateTemplateVars}}</a>'; var linkTemplate = '<a class="panel-title">{{panel.title | interpolateTemplateVars}}</a>';
var moveAttributes = ' data-drag=true data-jqyoui-options="kbnJqUiDraggableOptions"'+ var moveAttributes = ' data-drag=true data-jqyoui-options="kbnJqUiDraggableOptions"'+
' jqyoui-draggable="{'+ ' jqyoui-draggable="{'+
'animate:false,'+ 'animate:false,'+
......
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