diff --git a/lib/base/front/front.class.php b/lib/base/front/front.class.php index fce5e33cc0..a2ebdd9851 100644 --- a/lib/base/front/front.class.php +++ b/lib/base/front/front.class.php @@ -509,7 +509,10 @@ class baseHTML setcookie('goback', json_encode($gobackList), $config->cookieLife, $config->webRoot, '', $config->cookieSecure, false); } - return "{$label}"; + $dataApp = array_search($gobackLink, $gobackList) ? array_search($gobackLink, $gobackList) : ''; + $dataApp = empty($dataApp) ? '' : "data-app='$dataApp'"; + + return "{$label}"; } /** diff --git a/module/program/view/browsebylist.html.php b/module/program/view/browsebylist.html.php index ae32d22a17..3271346cda 100644 --- a/module/program/view/browsebylist.html.php +++ b/module/program/view/browsebylist.html.php @@ -126,7 +126,7 @@