[FIXED Use a fixed variable name for the Stapler proxy.
<script src="${resURL}/plugin/warnings-ng/js/libs/echarts.common.min.js"/>
<script src="${resURL}/plugin/warnings-ng/js/trend-chart.js"/>
<script>
- var ${from.urlName}Action = <st:bind value="${from}"/>;
- ${from.urlName}Action.getBuildTrend(function (trendModel) {
+ var proxy = <st:bind value="${from}"/>;
+ proxy.getBuildTrend(function (trendModel) {
renderTrendChart('${from.urlName}-history-chart', trendModel.responseJSON);
});
</script>
