You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2011/04/26 16:47:03 UTC
[jira] [Updated] (WICKET-2921) MultiFileUploadField shows full file
path in IE.
[ https://issues.apache.org/jira/browse/WICKET-2921?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Grigorov updated WICKET-2921:
------------------------------------
Fix Version/s: (was: 1.5-RC3)
(was: 1.4.17)
Removed the "Fix version" to not appear in the changelog.
No need a duplicate to appear there.
> MultiFileUploadField shows full file path in IE.
> ------------------------------------------------
>
> Key: WICKET-2921
> URL: https://issues.apache.org/jira/browse/WICKET-2921
> Project: Wicket
> Issue Type: Improvement
> Components: wicket-core
> Affects Versions: 1.4.9
> Environment: IE
> Reporter: Lena Navahonskaya
> Priority: Trivial
> Labels: IE
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira