提交 597afb7c 编写于 作者: S Steven Verbeek

Started note attachment changes, and text changes

上级 e5fa0bb1
......@@ -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);
});
},
......
......@@ -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;
}
}
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册