Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-7419

Backport: Upload: iron out visual and functional differences between javascript and flash widget

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 2.24.06
    • Fix Version/s: 2.24.07
    • Component/s: None
    • Labels:
    • Similar issues:

      Description

      Visual differences:

      • Both: Difference in labels
      • Both: Selection list stays visible after being emptied.
      • JS: no odd/even coloring in list
      • Flash: ugly border around browse button after click

      Functional differences:

      • JS: uploads are not sent as Ajax form post.
      • JS: if maxItems=1, autoUpload is always true. If autoUpload=true, maxItems is always 1.
      • JS: clearAfterUpload=true is simply ignored.
      • Flash: does not respect fileupload.maxItems.
      • Flash: browse dialog allows the user to select more files than is configured with fileupload.maxItems.
      • Flash: autoUpload=true does not wait for maxItems to be reached.
      • Flash: Browse button is not disabled when maxItems is reached

      New:

      • redraw file selection datatable by updating the datasource unless we exceed the scrollbar threshold and need scrollbars.
      • code is jslint compliant

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jsheriff Junaidh Kadhar Sheriff
                Reporter:
                abogaart Arthur Bogaart
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: