Project

General

Profile

Actions

Bug #662

open

Javascript alert boxes don't work properly when in the AOZ viewer.

Added by Brian Flanagan over 3 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
High
Target version:
-
Start date:
02/12/2021
Due date:
% Done:

0%

Estimated time:
1:00 h
Affected version:

Description

The alert() should be modal, but processing continues when in the AOZ Viewer.
Note that when using "Run in Browser", they work properly.

Example:

C=0
Do
    Inc C
    { alert(this.vars.C) }
    ' The alert above SHOULD wait for the OK button!
    ' Every time C is incremented, you SHOULD have to click OK before processing continues.
    ' Instead C is just continually incremented with no wait for the click.
    Wait Vbl
Loop
Actions #1

Updated by Brian Flanagan over 3 years ago

re-tested on 2/16/2021: Still fails. (processing continues)

Actions #2

Updated by Brian Flanagan over 3 years ago

  • Priority changed from Normal to High
Actions #3

Updated by Brian Flanagan over 3 years ago

  • Assignee set to Baptiste Bideaux
  • Affected version changed from 1.0.0 (B3) to 1.0.0 (B4)

Re-tested in 1.0.0 (B4) on 3/9/2021.
Still fails. Related to Bug #665 and #666.
Look at updates on bug #666 for more current details.

Actions #4

Updated by Brian Flanagan over 3 years ago

  • Affected version changed from 1.0.0 (B4) to 1.0.0 (B5)

Re-tested in 1.0.0 (B5). Still fails.

Actions #5

Updated by Brian Flanagan about 3 years ago

  • Status changed from New to Resolved
  • Affected version changed from 1.0.0 (B5) to 1.0.0 (B10) u16

Re-tested in 1.0.0 (B10) u16.

The alerts appear as they should now, however, the example code above will cause AOZ to minimize and freeze.

I was only able to get out by killing aozstudio (Force Quit). (macOS)

Actions

Also available in: Atom PDF