]> source.dussan.org Git - sonarqube.git/commitdiff
Treemap : do not reload the page when right-clicking on the first layer
authorSimon Brandhof <simon.brandhof@gmail.com>
Tue, 18 Dec 2012 22:30:44 +0000 (23:30 +0100)
committerSimon Brandhof <simon.brandhof@gmail.com>
Tue, 18 Dec 2012 22:30:44 +0000 (23:30 +0100)
sonar-server/src/main/webapp/javascripts/application.js

index 2c26c8de67465793e3e2059613d9577bc5a87357..4f508cc56ac4ac43c8d3993a9cebd2b8cb681634 100644 (file)
@@ -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();
       }