From: Simon Brandhof Date: Tue, 18 Dec 2012 22:30:44 +0000 (+0100) Subject: Treemap : do not reload the page when right-clicking on the first layer X-Git-Tag: 3.4~19 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=50615d55dc5470adb12d788c481cd1039ec534d8;p=sonarqube.git Treemap : do not reload the page when right-clicking on the first layer --- diff --git a/sonar-server/src/main/webapp/javascripts/application.js b/sonar-server/src/main/webapp/javascripts/application.js index 2c26c8de674..4f508cc56ac 100644 --- a/sonar-server/src/main/webapp/javascripts/application.js +++ b/sonar-server/src/main/webapp/javascripts/application.js @@ -221,7 +221,7 @@ Treemap.prototype.initNodes = function () { if (self.breadcrumb.length > 1) { self.breadcrumb.pop(); self.load(); - } else { + } else if (self.breadcrumb.length == 1) { $j("#tm-loading-" + self.id).show(); location.reload(); }