Merge remote-tracking branch 'meta/upload_new_format_of_existing_book'
This commit is contained in:
@@ -90,3 +90,9 @@ input.pill:not(:checked) + label .glyphicon {
|
||||
#meta-info img { max-height: 150px; max-width: 100px; cursor: pointer; }
|
||||
|
||||
.padded-bottom { margin-bottom: 15px; }
|
||||
|
||||
.upload-format-input-text {display: initial;}
|
||||
#btn-upload-format {display: none;}
|
||||
|
||||
.upload-format-input-text {display: initial;}
|
||||
#btn-upload-format {display: none;}
|
||||
|
||||
@@ -205,3 +205,11 @@ $("#search").on("change input.typeahead:selected", function() {
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
$("#btn-upload-format").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-format").html(filename);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user