Skip to content
Snippets Groups Projects
Commit 3e714100 authored by Patrick Barroca's avatar Patrick Barroca :grin:
Browse files

Merge branch 'hotline#22437_target_in_protoflow' into 'hotline-master'

Hotline#22437 target in protoflow

Corrige l'attribut html target dans protoflow.

See merge request !774
parents 16d488b7 27f313ba
Branches
Tags
3 merge requests!780Master,!779Master,!778Hotline master
- ticket : #22437
- Corrige l'attribut html target dans protoflow.
......@@ -22,7 +22,7 @@ foreach($this->notices as $notice) {
'alt' => $notice->getTitrePrincipal()]);
$anchors .= $this->tagAnchor($this->urlNotice($notice, $this->preferences, null, true),
$img,
['taget' => '_parent']);
['target' => '_parent']);
}
echo $this->tag('div', $anchors, ['id' => 'protoflow']);
......
......@@ -269,7 +269,7 @@ class JavaControllerKiosqueSlideShowWithRedirectSettingsTest extends AbstractCon
[$this->javaUrlWithPreferences('protoflow', 3),
['//div[@id="protoflow"]//a[@href="' . $url_notice . '"]',
'//a[contains(@href, "id_profil/123")][contains(@href, "cms/articleview")][contains(@href, "id/23")]',
'//a[contains(@href, "id_profil/123")][contains(@href, "cms/articleview")][contains(@href, "id/23")][contains(@target, "_parent")]',
'//a/img[@alt=' . $xpath_title . ']']],
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment