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

Upload button not working if changed from invisible to visible

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Duplicate
    • Affects Version/s: 7.0.0, 7.0.1
    • Fix Version/s: 7.0.2
    • Component/s: General
    • Security Level: Jimmy
    • Labels:
    • Environment:

      Issue happened starting in ZK 7.0.0; tested ok in ZK 6.5.5

      Description

      1. Click on "Show hidden upload button"
      2. Click on "Initially hidden Upload button"
      --> File upload dialogue should show, but does not.

      test.zul
      <zk>
          <button id="btnShowUpload" 
              label="Show hidden upload button" 
              onClick="uploadLayout.visible=true"/>
      
          <button 
              label="Always visible Upload button" 
              upload="true,multiple=false,native" 
              autodisable="self"/>
      
          <vlayout id="uploadLayout" visible="false">
              <button 
                  label="Initially hidden Upload button"
                  upload="true,multiple=false,native" 
                  autodisable="self"/>
          </vlayout>
      </zk>
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Jenkins Jenkins
              Reporter:
              neillee neillee
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: