Started note attachment changes, and text changes

This commit is contained in:
Steven Verbeek 2012-03-24 13:53:16 -03:00
parent e5fa0bb127
commit 597afb7ce2
2 changed files with 10 additions and 2 deletions

View file

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

View file

@ -1110,7 +1110,13 @@ p.time {
div.attachments {
position:relative;
width: 350px;
height: 40px;
height: 30px;
overflow:hidden;
margin:0 0 5px !important;
}
.file_name {
line-height:30px;
width:240px;
overflow:hidden;
}
}