mirror of
https://github.com/overte-org/overte.git
synced 2025-08-16 08:52:14 +02:00
19 lines
No EOL
526 B
HTML
19 lines
No EOL
526 B
HTML
<!--Note: change the parent postmessage second parameter due to possible security issues-->
|
|
<link rel="stylesheet" type="text/css" href="../../html/css/edit-style.css">
|
|
|
|
<style type="text/css">
|
|
#undoButton {
|
|
width: 200px;
|
|
height: 200px;
|
|
}
|
|
</style>
|
|
|
|
<button id="undoButton" onclick="undo()">Undo</button>
|
|
<script type="text/javascript">
|
|
function undo() {
|
|
var undoEvent = {
|
|
"type" : "undo"
|
|
};
|
|
parent.postMessage(JSON.stringify(undoEvent), "*");
|
|
}
|
|
</script> |