aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2012-12-18 23:30:44 +0100
committerSimon Brandhof <simon.brandhof@gmail.com>2012-12-18 23:30:44 +0100
commit50615d55dc5470adb12d788c481cd1039ec534d8 (patch)
tree902d755231a3043afb168d44913c28bf4a3b6ace
parent3df4286375f33192c042d21e243bf38bf0afeab2 (diff)
downloadsonarqube-50615d55dc5470adb12d788c481cd1039ec534d8.tar.gz
sonarqube-50615d55dc5470adb12d788c481cd1039ec534d8.zip
Treemap : do not reload the page when right-clicking on the first layer
-rw-r--r--sonar-server/src/main/webapp/javascripts/application.js2
1 files changed, 1 insertions, 1 deletions
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();
}