fml fixes

This commit is contained in:
Steffen Schröder
2013-12-31 12:06:04 +01:00
parent a9b97d179d
commit 5fd8c2cf1b
2 changed files with 3 additions and 2 deletions

View File

@ -404,7 +404,7 @@ if (Event.Control.HasClass(\"" . self::CLASS_PAGER . "\")) {
*/
private function getProfileLabels() {
$profileScript = "
if (Event.Control.HasClass(\"" . self::CLASS_PROFILE . "\") {
if (Event.Control.HasClass(\"" . self::CLASS_PROFILE . "\")) {
declare Login = LocalUser.Login;
foreach (ControlClass in Event.Control.ControlClasses) {
declare ClassParts = TextLib::Split(\"-\", ControlClass);
@ -426,7 +426,7 @@ if (Event.Control.HasClass(\"" . self::CLASS_PROFILE . "\") {
*/
private function getMapInfoLabels() {
$mapInfoScript = "
if (Event.Control.HasClass(\"" . self::CLASS_MAPINFO . "\") {
if (Event.Control.HasClass(\"" . self::CLASS_MAPINFO . "\")) {
ShowCurChallengeCard();
}";
$mapInfoLabels = Builder::getLabelImplementationBlock(self::LABEL_MOUSECLICK, $mapInfoScript);