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

Upload button not working if changed from invisible to visible

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Normal Normal
    • 7.0.2
    • 7.0.0, 7.0.1
    • General
    • Security Level: Jimmy
    • Issue happened starting in ZK 7.0.0; tested ok in ZK 6.5.5

      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>
      

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

              Created:
              Updated:
              Resolved: