maplist confirmations onclick
This commit is contained in:
		@@ -398,7 +398,7 @@ class MapList implements ManialinkPageAnswerListener, CallbackListener {
 | 
				
			|||||||
				$eraseQuad->setTextColor("A00");
 | 
									$eraseQuad->setTextColor("A00");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
				$confirmFrame = $this->buildConfirmFrame($maniaLink, $y, $id, $map->uid);
 | 
									$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
 | 
									//Description Label
 | 
				
			||||||
				$descriptionLabel = clone $preDefinedDescriptionLabel;
 | 
									$descriptionLabel = clone $preDefinedDescriptionLabel;
 | 
				
			||||||
@@ -419,7 +419,7 @@ class MapList implements ManialinkPageAnswerListener, CallbackListener {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
				//$switchToQuad->setAction(self::ACTION_CONFIRM_SWITCHTO_MAP . "." . ($id));
 | 
									//$switchToQuad->setAction(self::ACTION_CONFIRM_SWITCHTO_MAP . "." . ($id));
 | 
				
			||||||
				$confirmFrame = $this->buildConfirmFrame($maniaLink, $y, $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;
 | 
									$descriptionLabel = clone $preDefinedDescriptionLabel;
 | 
				
			||||||
				$frame->add($descriptionLabel);
 | 
									$frame->add($descriptionLabel);
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user