fml toggle update

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

No files matched your search

+6
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);