Started note attachment changes, and text changes

This commit is contained in:
Steven Verbeek 2012-03-24 13:57:01 -03:00
parent 597afb7ce2
commit c2c4424ff8
2 changed files with 3 additions and 2 deletions

View file

@ -38,8 +38,9 @@ init:
});
$("#note_attachment").change(function(e){
var val = $('input[type=file]').val();
var val = $('.input-file').val();
var filename = val.substr(val.lastIndexOf("/"));
console.log(filename,val);
$(".file_name").text(filename);
});