Fixes Cover metadata assigned to wrong item bug

This change fixes issue https://github.com/LibreTime/libretime/issues/1100
This commit is contained in:
Xabi Spacebiker 2020-11-07 01:11:18 +01:00 committed by GitHub
parent ab10e93949
commit bd3a3c542d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -21,8 +21,8 @@
<div class="track-edit-left">
<div class="artwork-upload" data-id="<?php echo($this->id); ?>">
<div class="artwork-edit">
<input type='file' class="artworkUpload artwork-uploaded-<?php echo($this->id); ?>" id="artworkUpload" data-id="<?php echo($this->id); ?>" accept=".png, .jpg, .jpeg" />
<label for="artworkUpload"></label>
<input type='file' class="artworkUpload artwork-uploaded-<?php echo($this->id); ?>" id="artworkUpload-<?php echo ($this->id); ?>" data-id="<?php echo($this->id); ?>" accept=".png, .jpg, .jpeg" />
<label for="artworkUpload-<?php echo ($this->id); ?>"></label>
</div>
<div id="artwork-preview" class="artwork-preview">
<div class="artwork-preview-<?php echo($this->id); ?>" id="artworkPreview" style="background-image: url(<?php echo $get_artwork; ?>);">
@ -36,4 +36,4 @@
</div>
<div style="height: 160px;"></div>
<?php echo $this->form; ?>
</div>
</div>