Merge "[Sahara] Fixed tab selection in case of processes names conflict"

This commit is contained in:
Jenkins 2015-04-23 19:59:59 +00:00 committed by Gerrit Code Review
commit 58c48e09b3
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@
addHorizonLoadEvent(function () {
function get_service_tab(service) {
return $("a").filter(function (idx, e) {
return $(e).attr("data-target") && $(e).attr("data-target").indexOf(service.toLowerCase()) != -1
return $(e).attr("data-target") && $(e).attr("data-target").indexOf('_'+service.toLowerCase()+'-') != -1
}).closest("li");
}