fix CSP on polygons

This commit is contained in:
Isaac Connor 2020-08-08 11:38:54 -04:00
parent eff96c5fa3
commit 8533ce7018
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ xhtmlHeaders(__FILE__, translate('Zones'));
<?php
foreach( array_reverse($zones) as $zone ) {
?>
<polygon points="<?php echo $zone['AreaCoords'] ?>" class="popup-link <?php echo $zone['Type']?>" onclick="streamCmdQuit(true); return false;"
<polygon points="<?php echo $zone['AreaCoords'] ?>" class="popup-link <?php echo $zone['Type']?>" data-on-click-true="streamCmdQuit"
data-url="?view=zone&amp;mid=<?php echo $mid ?>&amp;zid=<?php echo $zone['Id'] ?>"
data-window-name="zmZone<?php echo $zone['Id'] ?>"
data-window-tag="zone"