Merge remote-tracking branch 'meta/upload_new_format_of_existing_book'

This commit is contained in:
OzzieIsaacs
2017-09-16 18:55:34 +02:00
5 changed files with 57 additions and 2 deletions
+8
View File
@@ -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);
});