You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Pedro Santos (JIRA)" <ji...@apache.org> on 2011/04/26 16:33:03 UTC
[jira] [Resolved] (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 ]
Pedro Santos resolved WICKET-2921.
----------------------------------
Resolution: Duplicate
Fix Version/s: 1.4.17
1.5-RC3
improved in r1079696 resolving WICKET-3467
> 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
> Fix For: 1.5-RC3, 1.4.17
>
> 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