Fixed line ending issues on windows.
This commit is contained in:
parent
27244e0c9e
commit
a805d3131f
5 changed files with 16 additions and 3 deletions
|
@ -40,7 +40,6 @@ init:
|
|||
$("#note_attachment").change(function(e){
|
||||
var val = $('.input-file').val();
|
||||
var filename = val.replace(/^.*[\\\/]/, '');
|
||||
console.log(filename,val);
|
||||
$(".file_name").text(filename);
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue