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

MultiFileUploadField shows full file path in IE.

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Duplicate
    • Affects Version/s: 1.4.9
    • Fix Version/s: None
    • Component/s: wicket
    • Labels:
    • Environment:
      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

            • Assignee:
              Unassigned
              Reporter:
              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