aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--server/sonar-web/src/main/js/apps/account/issues-app.js1
-rw-r--r--server/sonar-web/src/main/js/apps/code/components/ComponentName.js4
2 files changed, 3 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/apps/account/issues-app.js b/server/sonar-web/src/main/js/apps/account/issues-app.js
index 63b166b74f5..273782b9e0f 100644
--- a/server/sonar-web/src/main/js/apps/account/issues-app.js
+++ b/server/sonar-web/src/main/js/apps/account/issues-app.js
@@ -96,6 +96,7 @@ App.updateContextFacets = function () {
App.stop = function () {
App.layout.destroy();
Backbone.history.stop();
+ $('#footer').removeClass('search-navigator-footer');
};
App.on('start', function (options) {
diff --git a/server/sonar-web/src/main/js/apps/code/components/ComponentName.js b/server/sonar-web/src/main/js/apps/code/components/ComponentName.js
index 0ad9d57031d..fafcc8a8b0a 100644
--- a/server/sonar-web/src/main/js/apps/code/components/ComponentName.js
+++ b/server/sonar-web/src/main/js/apps/code/components/ComponentName.js
@@ -28,9 +28,9 @@ import { getComponentUrl } from '../../../helpers/urls';
function getTooltip (component) {
const isFile = component.qualifier === 'FIL' || component.qualifier === 'UTS';
if (isFile && component.path) {
- return component.path;
+ return component.path + '\n\n' + component.key;
} else {
- return component.name;
+ return component.name + '\n\n' + component.key;
}
}