anchor.diff:                  error: function (data) {
                       console.log(data)
                   }
  -            })
  +            });
  +        }
  +
  +        function save_emblem(id) {
  +
  +            var formData = new FormData();
  +            formData.append('picture', $(document).find('#file_emblem')[0].files[0]);
  +            formData.append('title', $(document).find('#title_emblem').val());
  +            formData.append('price', $(parent).find('#price').val());
  +            formData.append('x', EMBLEM_IMAGE.getX());
  +            formData.append('y', EMBLEM_IMAGE.getY());
  +            formData.append('color_id', ACTUAL_COLOR);
  +            formData.append('multiplexer', ACTUAL_ZOOM);
  +            formData.append('pr_id', id);
  +
  +            $.ajax({
  +                url: '/product/add/emblem',
  +                type: 'POST',
  +                dataType: 'json',
  +                contentType: false,
  +                processData: false,
  +                data: formData,
  +                success: function (data) {
  +                    window.location.reload(true);
  +                },
  +                error: function (data) {
  +                    console.log(data);
  +                }
  +            });
           }
   
           function change_base(select) {
  
positive.code: 
    <div class="card modal-g">
      Emblems
    </div>
  
    <div id="dim_back" class="dim_back">
  
negative.code:                         }
                      });
  
                      break;
  
                  case 'emblem_modal':
                      modal.innerHTML = complete_emblem(id);
                      break;
              }
  
  