diff options
Diffstat (limited to 'server/sonar-web/src/main/js/common/handlebars-extensions.js')
-rw-r--r-- | server/sonar-web/src/main/js/common/handlebars-extensions.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/common/handlebars-extensions.js b/server/sonar-web/src/main/js/common/handlebars-extensions.js index ab432951615..351f76a1d16 100644 --- a/server/sonar-web/src/main/js/common/handlebars-extensions.js +++ b/server/sonar-web/src/main/js/common/handlebars-extensions.js @@ -101,9 +101,8 @@ define(['handlebars'], function (Handlebars) { Handlebars.registerHelper('eachChanged', function (context, property, options) { var ret = ''; context.forEach(function (d, i) { - var changed = i > 0 ? d[property] !== context[i - 1][property] : true; + var changed = i > 0 ? d[property] !== context[i - 1][property] : true, c = _.extend({ changed: changed }, d); - console.log(d[property], i > 0 ? context[i - 1][property] : ''); ret += options.fn(c); }); return ret; |