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

XMLWordPrintable

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

      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>

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

              Created:
              Updated:
              Resolved: