aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web
diff options
context:
space:
mode:
authorJean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com>2014-10-03 16:31:28 +0200
committerJean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com>2014-10-03 16:31:28 +0200
commitc45336ac5a5b70209ec3837bb0abef1381687e0d (patch)
tree6c62274654ba0a0a5c40e9a860b67bfb044ed94d /server/sonar-web
parentbfe079c57c1b509860384635d612408816acad8e (diff)
downloadsonarqube-c45336ac5a5b70209ec3837bb0abef1381687e0d.tar.gz
sonarqube-c45336ac5a5b70209ec3837bb0abef1381687e0d.zip
SONAR-5655 Hide "Edit" link on widget while already editing
Diffstat (limited to 'server/sonar-web')
-rw-r--r--server/sonar-web/src/main/js/dashboard.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/js/dashboard.js b/server/sonar-web/src/main/js/dashboard.js
index 1e2a5b39a79..fdaf0369461 100644
--- a/server/sonar-web/src/main/js/dashboard.js
+++ b/server/sonar-web/src/main/js/dashboard.js
@@ -112,6 +112,7 @@
$('#widget_title_' + widgetId).hide();
$('#widget_' + widgetId).hide();
$('#widget_props_' + widgetId).show();
+ $($('#block_' + widgetId + ' a.link-action')[0]).hide();
},
@@ -119,6 +120,7 @@
$('widget_title_' + widgetId).show();
$('#widget_' + widgetId).show();
$('#widget_props_' + widgetId).hide();
+ $($('#block_' + widgetId + ' a.link-action')[0]).show();
},