new MapEngineDialog(element)
The modal dialog presented to the user in the map edit page, prompting them to choose a map engine, if they haven't done so already
Parameters:
Name | Type | Description |
---|---|---|
element |
HTMLElement | to create modal dialog from |
Methods
-
<static> WPGMZA.MapsEngineDialog#onButtonClicked(event)
-
Triggered when an engine is selected. Makes an AJAX call to the server to save the selected engine.
Parameters:
Name Type Description event
object The click event from the selected button.