Commit 04d8e278 authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

Correction aide de vue ToggleDetails.

parent e61ad658
......@@ -77,7 +77,7 @@ class ToggleDetails extends AbstractHelper
{
$this->detailsDivId = $detailsDivId;
$this->rememberState = $rememberState;
$this->domid = uniqid("a-toggle-details-");
$this->domid = "a-toggle-details-$detailsDivId";
return $this;
}
......@@ -203,7 +203,7 @@ EOS;
*/
public function getJsEventNameWhenVisible()
{
return 'toggle-details-visible-' . $this->detailsDivId;
return 'event-toggle-details-visible-' . $this->detailsDivId;
}
/**
......@@ -213,7 +213,7 @@ EOS;
*/
public function getJsEventNameWhenInvisible()
{
return 'toggle-details-invisible-' . $this->detailsDivId;
return 'event-toggle-details-invisible-' . $this->detailsDivId;
}
/**
......
Supports Markdown
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