Added posibility to upload cover from local drive (#439)
Updated language files
This commit is contained in:
@@ -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;}
|
||||
|
||||
|
||||
@@ -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);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user