Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh
This commit is contained in:
commit
ea18098a9d
|
@ -21,7 +21,7 @@
|
||||||
function edit_desc(){
|
function edit_desc(){
|
||||||
if(<%=@forum.creator.id == User.current.id%>) {
|
if(<%=@forum.creator.id == User.current.id%>) {
|
||||||
desc = $("#forum_desc_span").html();
|
desc = $("#forum_desc_span").html();
|
||||||
$("#forum_desc_span").html("<textarea id='forum_desc_input' onblur='change_forum_desc();' class='homepageSignatureTextarea'>" + desc + "</textarea>");
|
$("#forum_desc_span").html("<textarea id='forum_desc_input' onblur='change_forum_desc();' style='width: 200px;height: 80px; max-width: 207px; max-height: 80px; border: 1px solid #d9d9d9;outline: none;margin: 0px 0px 12px 0px;'>" + desc + "</textarea>");
|
||||||
$("#forum_desc_input").focus();
|
$("#forum_desc_input").focus();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue