diff --git a/lib/base/front/front.class.php b/lib/base/front/front.class.php index f2ce3a11af..6d34aa435a 100644 --- a/lib/base/front/front.class.php +++ b/lib/base/front/front.class.php @@ -505,8 +505,6 @@ class baseHTML $gobackList = isset($_COOKIE['goback']) ? json_decode($_COOKIE['goback'], true) : array(); $gobackLink = isset($gobackList[$tab]) ? $gobackList[$tab] : ''; - if(strpos($misc, 'data-app') === false) $misc .= ' data-app="' . $tab . '"'; - /* If the link of the referer is not the link of the current page or the link of the index, the cookie and gobackLink will be updated. */ if(!preg_match("/(m=|\/)(index|search|$currentModule)(&f=|-)(index|buildquery|$currentMethod)(&|-|\.)?/", $refererLink)) { diff --git a/module/doc/view/create.html.php b/module/doc/view/create.html.php index 773e37f892..a13563148e 100644 --- a/module/doc/view/create.html.php +++ b/module/doc/view/create.html.php @@ -117,7 +117,7 @@ - + goback, "data-app='{$app->openApp}'");?> diff --git a/module/doc/view/edit.html.php b/module/doc/view/edit.html.php index 4023a97672..ff3c869ed2 100644 --- a/module/doc/view/edit.html.php +++ b/module/doc/view/edit.html.php @@ -105,7 +105,7 @@ editedDate); echo html::submitButton(); - echo html::backButton(); + echo html::backButton($lang->goback, "data-app='{$app->openApp}'"); ?>