This commit is contained in:
Steffen Schröder 2013-12-31 11:19:19 +01:00
parent d57cebc23f
commit 283f6d8fcd

View File

@ -305,7 +305,7 @@ if (Event.Control.HasClass(\"" . self::CLASS_MENUBUTTON . "\")) {
Page.GetClassChildren(MenuIdClass, Page.MainFrame, True);
foreach (MenuControl in Page.GetClassChildren_Result) {
if (!MenuControl.HasClass(\"" . self::CLASS_MENU . "\")) continue;
if (MenuControlId != MenuControl.Id) {
if (MenuControlId != MenuControl.ControlId) {
MenuControl.Hide();
} else {
MenuControl.Show();
@ -386,7 +386,7 @@ if (Event.Control.HasClass(\"" . self::CLASS_PAGER . "\")) {
PageControl.Show();
}
}
Page.GetClassChildren(\"".self::CLASS_PAGELABEL."\", Page.MainFrame, True);
Page.GetClassChildren(\"" . self::CLASS_PAGELABEL . "\", Page.MainFrame, True);
foreach (PageControl in Page.GetClassChildren_Result) {
if (!PageControl.HasClass(PagesId)) continue;
declare PageLabel <=> (PageControl as CMlLabel);