Fixed line ending issues on windows.

This commit is contained in:
Steven Verbeek 2012-03-24 14:36:14 -03:00
parent 27244e0c9e
commit a805d3131f
5 changed files with 16 additions and 3 deletions

View file

@ -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);
});