Project

General

Profile

Bug #662

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

Added by Brian Flanagan about 3 years ago. Updated over 2 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
#1

Updated by Brian Flanagan about 3 years ago

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

#2

Updated by Brian Flanagan about 3 years ago

  • Priority changed from Normal to High
#3

Updated by Brian Flanagan about 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.

#4

Updated by Brian Flanagan about 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.

#5

Updated by Brian Flanagan over 2 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)

Also available in: Atom PDF