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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 6.5.0, 6.0.4
    • Fix Version/s: 6.5.2, 6.0.5
    • Component/s: Components
    • Security Level: Jimmy
    • Labels:

      Description

      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>

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: