You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Lena Navahonskaya (JIRA)" <ji...@apache.org> on 2010/06/22 17:57:57 UTC

[jira] Created: (WICKET-2921) MultiFileUploadField shows full file path in IE.

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.


[jira] Updated: (WICKET-2921) MultiFileUploadField shows full file path in IE.

Posted by "Igor Vaynberg (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-2921?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Vaynberg updated WICKET-2921:
----------------------------------

    Issue Type: Improvement  (was: Bug)

> 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
>    Affects Versions: 1.4.9
>         Environment: IE
>            Reporter: Lena Navahonskaya
>            Priority: Trivial
>   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.
-
You can reply to this email to add a comment to the issue online.