Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-2921

MultiFileUploadField shows full file path in IE.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Duplicate
    • 1.4.9
    • None
    • wicket
    • IE

    Description

      MultiFileUploadField shows full file path in IE. It can be fixed by changing MultiFileUploadField.js in function addListRow:

      replace
      new_row.innerHTML = element.value;
      by
      var element_work = element.value;
      var element_tab = element_work.split("
      ");
      var nbr_elements = element_tab.length;
      new_row.innerHTML = element_tab[nbr_elements-1];

      Or RegExp can be used for this purpose.

      Attachments

        Activity

          People

            Unassigned Unassigned
            tigris Lena Navahonskaya
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified