Skip to content

Commit

Permalink
Fixed issue #10191: Can't import attributes with Participants
Browse files Browse the repository at this point in the history
  • Loading branch information
olleharstedt committed Mar 10, 2016
1 parent e95949e commit bcafe69
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Expand Up @@ -38,7 +38,7 @@
<?php foreach ($attributes as $key => $value): ?>
<div class='col-sm-12 droppable-map'>
<div class='col-sm-6'>
<div id='c_<?php echo $value['attribute_id']; ?>' data-name='c_<?php echo $key; ?>' class='well well-sm'>
<div id='c_<?php echo $value['attribute_id']; ?>' data-name='c_<?php echo $key; ?>' class='well well-sm csv-attribute-item'>
<?php echo $value['attribute_name']; ?>
</div>
</div>
Expand Down
1 change: 1 addition & 0 deletions scripts/admin/attributeMapCSV.js
Expand Up @@ -170,6 +170,7 @@ $(document).ready(function() {
$('#centralattribute .csv-attribute-item').each(function(i) {
cpdbattarray.push($(this).attr('id'));
});

$.each(cpdbattarray, function(index,value) {
if(value[0]=='c' && value[1]=='s') {
mappedarray[cpdbattarray[index-1].substring(2)] = value.substring(3);
Expand Down

0 comments on commit bcafe69

Please sign in to comment.