fml toggle update

This commit is contained in:
Steffen Schröder
2014-01-05 17:30:19 +01:00
parent 3c784505d2
commit cd475c6508
3 changed files with 10 additions and 5 deletions

View File

@ -297,6 +297,12 @@ class Script {
return $this;
}
$toggleControl->checkId();
if ($mode == self::CLASS_HIDE) {
$toggleControl->setVisible(true);
}
else {
$toggleControl->setVisible(false);
}
$clickControl->setScriptEvents(true);
$clickControl->addClass(self::CLASS_TOGGLE);
$clickControl->addClass($mode);