Skip to content

Commit

Permalink
bug fix (#5047)
Browse files Browse the repository at this point in the history
  • Loading branch information
bradymiller committed Mar 28, 2022
1 parent af8148a commit 31f0800
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions interface/super/manage_document_templates.php
Expand Up @@ -221,10 +221,10 @@
</form>
</div>
<script>
//dislpay file name
//display file name
$(".custom-file-input").on("change", function() {
var fileName = $(this).val().split("\\").pop();
$(this).siblings(".custom-file-label").addClass("selected").html(fileName);
$(this).siblings(".custom-file-label").addClass("selected").html(jsText(fileName));
});
</script>
</body>
Expand Down

0 comments on commit 31f0800

Please sign in to comment.