MacGapProject / MacGap1

Desktop WebKit wrapper for HTML/CSS/JS applications.
Other
3.55k stars 208 forks source link

Support JavaScript confirm() dialog. #59

Closed mutru closed 11 years ago

mutru commented 11 years ago

Adds support for confirm() in JavaScript. To test, create an index.html with something like:

<script type="text/javascript">
    if (confirm("Are you sure?")) {
        alert("Nice");
    } else {
        alert("Meh");
    }
</script>