Lines 30-35
Link Here
|
30 |
<div class="import_errors dialog alert" style="display: none;"></div> |
30 |
<div class="import_errors dialog alert" style="display: none;"></div> |
31 |
</div> |
31 |
</div> |
32 |
|
32 |
|
|
|
33 |
<div id="csv_error" class="alert" style="visibility: hidden;">Something went wrong, check your CSV file.</div> |
33 |
<div id="instructions"> |
34 |
<div id="instructions"> |
34 |
<fieldset id="file_uploader_help" class="rows"> |
35 |
<fieldset id="file_uploader_help" class="rows"> |
35 |
<legend>Instructions</legend> |
36 |
<legend>Instructions</legend> |
Lines 217-223
Link Here
|
217 |
|
218 |
|
218 |
// Now that we have our value string, let's add |
219 |
// Now that we have our value string, let's add |
219 |
// it to the data array. |
220 |
// it to the data array. |
220 |
arrData[ arrData.length - 1 ].push( strMatchedValue ); |
221 |
if ( arrData[ arrData.length - 1 ] ) { |
|
|
222 |
arrData[ arrData.length - 1 ].push( strMatchedValue ); |
223 |
} else { |
224 |
$('#csv_error').css( 'visibility' , 'visible' ); |
225 |
} |
221 |
} |
226 |
} |
222 |
|
227 |
|
223 |
// Return the parsed data. |
228 |
// Return the parsed data. |
224 |
- |
|
|