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

JS error on show/hide toolbar

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.2.0
    • Component/s: None
    • Labels:
      None
    • Environment:

      reproduced with: 5.2.0.FL.20200410-Eval

      Description

      Steps to Reproduce

      run a page with a spreadsheet
      e.g.: http://server:port/keikai-demo/excel_like

      execute the following JS in the console:

      ss = zk.$('@spreadsheet')
      ss.setShowToolbar(false);
      

      Current Result

      zss.wpd:457 Uncaught TypeError: w.isVisible is not a function
          at b.showToolbar (zss.wpd:457)
          at b.setShowToolbar (zk.wpd:236)
          at <anonymous>:1:4
      

      Expected Result

      no error

      Debug Information


      Workaround


        Attachments

          Activity

            People

            Assignee:
            wenninghsu wenninghsu
            Reporter:
            cor3000 cor3000
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: