diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2014-06-19 12:37:10 +0600 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2014-06-19 12:37:10 +0600 |
commit | 2f90b1d6cf95f275d8dfc891c9b4f116ff3d7d0d (patch) | |
tree | 49796db7f0a83f5279833afc79a9e69bb854624c /sonar-server/src/main/js/common/handlebars-extensions.js | |
parent | b373de2d0cc912708315b2ce45b6b48e9bda6849 (diff) | |
download | sonarqube-2f90b1d6cf95f275d8dfc891c9b4f116ff3d7d0d.tar.gz sonarqube-2f90b1d6cf95f275d8dfc891c9b4f116ff3d7d0d.zip |
SONAR-5209 Differential mode feedback
Diffstat (limited to 'sonar-server/src/main/js/common/handlebars-extensions.js')
-rw-r--r-- | sonar-server/src/main/js/common/handlebars-extensions.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-server/src/main/js/common/handlebars-extensions.js b/sonar-server/src/main/js/common/handlebars-extensions.js index 9f6348a61c8..b0fc9ccb818 100644 --- a/sonar-server/src/main/js/common/handlebars-extensions.js +++ b/sonar-server/src/main/js/common/handlebars-extensions.js @@ -138,7 +138,7 @@ define(['handlebars', 'moment'], function (Handlebars, moment) { notEmpty = args.reduce(function(prev, current) { return prev || (current && current.length > 0); }, false); - return notEmpty ? options.fn(this) : ''; + return notEmpty ? options.fn(this) : options.inverse(this); }); Handlebars.registerHelper('join', function(array, separator) { |