Actions
Bug #667
openMultiple alerts in a row will only display the last in the AOZ Viewer.
Start date:
02/16/2021
Due date:
% Done:
0%
Estimated time:
1:00 h
Affected version:
Description
Related to Bug #662
Only the last alert called will be displayed.
{ alert('alert 1'); }
{ alert('alert 2'); }
{ alert('alert 3'); }
The above code will ONLY display 'alert 3', since processing continues instead of waiting for the user action.
Updated by Brian Flanagan almost 4 years ago
- Subject changed from Two alerts in a row will only display the first in the AOZ Viewer. to Multiple alerts in a row will only display the last in the AOZ Viewer.
Updated by Brian Flanagan over 3 years ago
- Assignee set to Baptiste Bideaux
Re-tested in 1.0.0 (B5) Still fails.
Updated by Brian Flanagan over 3 years ago
- Affected version changed from 1.0.0 (B3) to 1.0.0 (B5)
Updated by Brian Flanagan over 3 years ago
- Affected version changed from 1.0.0 (B5) to 1.0.0 (B7)
It's worse. Now, it doesn't work at all. Gets an Internal error.
Console errors:
atom.warn is not a function
raoz.js:1061 TypeError: atom.warn is not a function
at AOZView.window.warn (/Users/brian/AOZ_Studio/aoz/IDE/.atom/packages/aoz-studio/lib/aoz-studio-view.js:249)
at self.iframe.contentWindow.alert (/Users/brian/AOZ_Studio/aoz/IDE/.atom/packages/aoz-studio/lib/ui/aoz-viewer.js:843)
at Application.blocks.<computed> (VM14954 application.js:48)
at AOZ.runBlocks (VM14953 raoz.js:769)
at doUpdate (VM14953 raoz.js:443)
raoz.js:495 Internal error
at line: 1, column: 1 in file main.aoz.
Updated by Brian Flanagan over 3 years ago
Tried this again with 1.0.0 (B7) rev 4/20
It still fails entirely, but with a different error.
Instead of "not a function", it now gets an "Illegal invocation" error.
Related to bug #728
NOTE: It fails when in the AOZ Viewer.
In a web browser, it works properly, since it is using the normal browser alert box.
Updated by Brian Flanagan about 3 years ago
- Status changed from New to Resolved
- Target version set to 1.0.0 (B10) u16
Re-tested in 1.0.0 (B10) u16
Works!
Actions