fixed fakepath on import

This commit is contained in:
Tom Giannattasio
2012-10-25 12:51:21 -04:00
parent b9d96df1bd
commit a0f4e67235

View File

@@ -137,7 +137,7 @@ function showImportSubmit(e) {
var filepath = $(this).val();
if(filepath.substr(filepath.length - 6, 6) == 'tar.gz') {
$('.error-block').hide();
$('.file-name').html($(this).val());
$('.file-name').html($(this).val().replace('C:\\fakepath\\', ''));
$('.file-name-block').show();
$('.import .choose-file-button').hide();
$('.submit-button').show();