MultiFileUploadField shows full file path in IE.
------------------------------------------------
Key: WICKET-2921
URL: https://issues.apache.org/jira/browse/WICKET-2921
Project: Wicket
Issue Type: Bug
Components: wicket
Affects Versions: 1.4.9
Environment: IE
Reporter: Lena Navahonskaya
Priority: Trivial
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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.