Added posibility to upload cover from local drive (#439)

Updated language files
This commit is contained in:
OzzieIsaacs
2018-08-28 14:07:48 +02:00
parent 3a37183e25
commit a7a91ae54c
16 changed files with 685 additions and 449 deletions
+2 -2
View File
@@ -94,8 +94,8 @@ input.pill:not(:checked) + label .glyphicon {
.upload-format-input-text {display: initial;}
#btn-upload-format {display: none;}
.upload-format-input-text {display: initial;}
#btn-upload-format {display: none;}
.upload-cover-input-text {display: initial;}
#btn-upload-cover {display: none;}
.panel-title > a { text-decoration: none;}
+8
View File
@@ -246,3 +246,11 @@ $("#btn-upload-format").on("change", function () {
} // Remove c:\fake at beginning from localhost chrome
$("#upload-format").html(filename);
});
$("#btn-upload-cover").on("change", function () {
var filename = $(this).val();
if (filename.substring(3, 11) === "fakepath") {
filename = filename.substring(12);
} // Remove c:\fake at beginning from localhost chrome
$("#upload-cover").html(filename);
});