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

Button with both autodisable and upload attributes set causes a javascript error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 6.5.2, 6.0.5
    • 6.5.0, 6.0.4
    • Components
    • Security Level: Jimmy

      Button with both autodisable and upload attributes set causes a javascript error as:
      TypeError: wgt._uplder is null
      when run "wgt._uplder.destroy()" in the "end" function of Upload.js.
      The issue had been fixed after zk6.5.1.
      Zul Sample:
      <zk>
      <button id="btnUploadBtn" label="Upload" upload="true,maxsize=-1,multiple=true" onUpload="" autodisable="self"/>
      </zk>

            vincentjian vincentjian
            francishsiao francishsiao
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: