Uploaded image for project: 'Keikai'
  1. Keikai
  2. KEIKAI-360

cannot disable some functions in a event listener

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 5.5.0
    • 5.4.0
    • None
    • None

      Steps to Reproduce

      1. run the attached example
      2. uncheck "Add Sheet" to disable ADD_SHEET, COPY, CLEAR

      Current Result

      COPY and CLEAR buttons are still available
      ADD_SHEET is disabled.

      Expected Result

      1. toolbar button of COPY and CLEAR are disabled
      2. hotkey for COPY are disabled (ctrl+c)

      Debug Information

      1. if you call disableUserAction() in doAfterCompose(), it can disable functions, buttons on the toolbar are disabled.
      2. COPY and CLEAR are just 2 examples, other functions might not work as expected, either.

            wenninghsu wenninghsu
            hawk hawk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: