B4J Question [ABMaterial] msgbox and IE

ToolboxZX

Member
Licensed User
Longtime User
Does page.msgbox work in IE 11? (ABMaterial version 3.02)

A line such as:
Code: Copy
page.Msgbox("MSGBOX","Test message","Test Title","OK","")
does not appear to do anything, but it works fine in Edge.
 
SweetAlert2 (the library Msgbox is based on), uses some features IE cannot handle. You can always try to add the following line in BuildPage(), which adds a polyfill that 'may' cope with those missing features. Note that this core.js <> ABMaterials core.js so you may have to rename it!

Untested:
Code: Copy
Page.AddExtraJavaScriptFile("https://cdnjs.cloudflare.com/ajax/libs/core-js/2.4.1/core.js")
 
Upvote 0
Back
Top