Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-4074

Applet method invoke errors (IE)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 8.6.1
    • 8.5.2.1
    • Components
    • Security Level: Jimmy
    • IE

      the IE specific *invoke *method on the Applet widget causes JS errors after code minification
      (-> the error only happens when <debug-js> is enabled, e.g. in production while it works during development)

      see: https://github.com/zkoss/zk/blob/v8.5.2.1/zul/src/archive/web/js/zul/med/Applet.js#L114-L120

      The local variable 'n' becomes 'a' after minification leading JS to errors when evaluating 'expr' after an applet method is called using Applet.invoke().

            rudyhuang rudyhuang
            cor3000 cor3000
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 4 hours
                4h
                Remaining:
                Time Spent - 3 hours Remaining Estimate - 1 hour
                1h
                Logged:
                Time Spent - 3 hours Remaining Estimate - 1 hour
                3h