From 50615d55dc5470adb12d788c481cd1039ec534d8 Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Tue, 18 Dec 2012 23:30:44 +0100 Subject: [PATCH] Treemap : do not reload the page when right-clicking on the first layer --- sonar-server/src/main/webapp/javascripts/application.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } -- 2.39.5