Skip to content

Commit

Permalink
Fix #241: Added automatic filename in convert (#291)
Browse files Browse the repository at this point in the history
* Added automatic filename in convert

Signed-off-by: Hardik Katehara <hardikkatehara@gmail.com>
  • Loading branch information
hardikkat24 committed Mar 2, 2021
1 parent d27ed8f commit 13b46e4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/templates/app/convert.html
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ <h4 id="doclabel">Upload SPDX Document using the button or by dragging and dropp
function checkFile(file){
if(file){
$(".file-name").html("<b>Selected File: </b>"+file.name);
$("#cfilename").val(file.name.split('.').slice(0,-1).join('.') || file.name);
selected_file = file;
}
else{
Expand Down

0 comments on commit 13b46e4

Please sign in to comment.