Started note attachment changes, and text changes
This commit is contained in:
parent
e5fa0bb127
commit
597afb7ce2
|
@ -38,7 +38,9 @@ init:
|
||||||
});
|
});
|
||||||
|
|
||||||
$("#note_attachment").change(function(e){
|
$("#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 {
|
div.attachments {
|
||||||
position:relative;
|
position:relative;
|
||||||
width: 350px;
|
width: 350px;
|
||||||
height: 40px;
|
height: 30px;
|
||||||
|
overflow:hidden;
|
||||||
|
margin:0 0 5px !important;
|
||||||
|
}
|
||||||
|
.file_name {
|
||||||
|
line-height:30px;
|
||||||
|
width:240px;
|
||||||
overflow:hidden;
|
overflow:hidden;
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in a new issue