anchor.diff:          var files = $(parent).find('input[id="file"]')[0].files;
           var data_list = $(parent).find('#main_image_' + id)[0];
           console.log(data_list);
  +        parent.dataset.changed = 'true';
   
           var html = '';
   
  
positive.code:                     stock: $(rows[i]).find('input[id="stock_level"]').val(),
                      preferred: $(rows[i]).find('input[id="main"]').prop('checked'),
                      files: $(rows[i]).find('input[id="file"]')[0].files,
                      main_picture: $(rows[i]).find('input[id="main_image"]').val()
                  });
                  colors_g[id].cur_id = colors_g[id].cur_id + 1;
              } else {
                  var item = get_correct(holder, parseInt(rows[i].dataset.idUse));
                  colors_g[id].colors.push({
                      id: item.id,
                      title: $(rows[i]).find('input[id="title"]').val(),
                      price: $(rows[i]).find('input[id="price"]').val(),
                      color: $(rows[i]).find('input[id="code_hex"]').val(),
                      stock: $(rows[i]).find('input[id="stock_level"]').val(),
                      preferred: $(rows[i]).find('input[id="main"]').prop('checked'),
                      file: item.files,
                      main_picture: $(rows[i]).find('input[id="main_image"]').val()
                  });
              }
          }
          console.log(colors_g[id]);
  
negative.code:             '      <h5 style="width: 10%; float: left;">Main color?</h5>\n' +
              '      <datalist id="pictures' + counter + '"></datalist>' +
              '      <input onchange="update_list(this, ' + counter + ')" multiple style="float: left; width: 17%; margin: 0;" type="file" value="" name="file" id="file">\n' +
              '      <select name="main_image" style="width: 12%; float:left; margin: 0;" id="main_image_' + counter + '">' +
              '      </select>' +
              '</div>' + '<button id="bonnie" onclick="new_color_row(' + id + ')" style="float: left; width: 10%; margin: 0;">+</button>');
  
  