maplist confirmations onclick

This commit is contained in:
kremsy 2014-01-05 15:16:41 +01:00
parent 7eb1091511
commit 3202194068

View File

@ -398,7 +398,7 @@ class MapList implements ManialinkPageAnswerListener, CallbackListener {
$eraseQuad->setTextColor("A00");
$confirmFrame = $this->buildConfirmFrame($maniaLink, $y, $id, $map->uid);
$script->addTooltip($eraseQuad, $confirmFrame, Script::OPTION_TOOLTIP_STAYONCLICK);
$script->addTooltip($eraseQuad, $confirmFrame, Script::OPTION_TOOLTIP_ONCLICK);
//Description Label
$descriptionLabel = clone $preDefinedDescriptionLabel;
@ -419,7 +419,7 @@ class MapList implements ManialinkPageAnswerListener, CallbackListener {
//$switchToQuad->setAction(self::ACTION_CONFIRM_SWITCHTO_MAP . "." . ($id));
$confirmFrame = $this->buildConfirmFrame($maniaLink, $y, $id);
$script->addTooltip($switchToQuad, $confirmFrame, Script::OPTION_TOOLTIP_STAYONCLICK);
$script->addTooltip($switchToQuad, $confirmFrame, Script::OPTION_TOOLTIP_ONCLICK);
$descriptionLabel = clone $preDefinedDescriptionLabel;
$frame->add($descriptionLabel);