Skip to content
Snippets Groups Projects
Commit 04d8e278 authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

Correction aide de vue ToggleDetails.

parent e61ad658
No related branches found
No related tags found
No related merge requests found
...@@ -77,7 +77,7 @@ class ToggleDetails extends AbstractHelper ...@@ -77,7 +77,7 @@ class ToggleDetails extends AbstractHelper
{ {
$this->detailsDivId = $detailsDivId; $this->detailsDivId = $detailsDivId;
$this->rememberState = $rememberState; $this->rememberState = $rememberState;
$this->domid = uniqid("a-toggle-details-"); $this->domid = "a-toggle-details-$detailsDivId";
return $this; return $this;
} }
...@@ -203,7 +203,7 @@ EOS; ...@@ -203,7 +203,7 @@ EOS;
*/ */
public function getJsEventNameWhenVisible() public function getJsEventNameWhenVisible()
{ {
return 'toggle-details-visible-' . $this->detailsDivId; return 'event-toggle-details-visible-' . $this->detailsDivId;
} }
/** /**
...@@ -213,7 +213,7 @@ EOS; ...@@ -213,7 +213,7 @@ EOS;
*/ */
public function getJsEventNameWhenInvisible() public function getJsEventNameWhenInvisible()
{ {
return 'toggle-details-invisible-' . $this->detailsDivId; return 'event-toggle-details-invisible-' . $this->detailsDivId;
} }
/** /**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment