B4J Question [ABMaterial] msgbox and IE

Discussion in 'B4J Questions' started by ToolboxZX, May 1, 2017.

  1. ToolboxZX

    ToolboxZX Member Licensed User

    Does page.msgbox work in IE 11? (ABMaterial version 3.02)

    A line such as:
    Code:
    page.Msgbox("MSGBOX","Test message","Test Title","OK","")
    does not appear to do anything, but it works fine in Edge.
     
  2. alwaysbusy

    alwaysbusy Expert Licensed User

    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:
    Page.AddExtraJavaScriptFile("https://cdnjs.cloudflare.com/ajax/libs/core-js/2.4.1/core.js")
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice