编辑贴吧描述权限问题
This commit is contained in:
parent
72ae07fcb1
commit
fa41c03a82
|
@ -19,10 +19,12 @@
|
|||
<script>
|
||||
var desc;
|
||||
function edit_desc(){
|
||||
if(<%=@forum.creator.id == User.current.id%>) {
|
||||
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();' class='homepageSignatureTextarea'>" + desc + "</textarea>");
|
||||
$("#forum_desc_input").focus();
|
||||
}
|
||||
}
|
||||
|
||||
function change_forum_desc(){
|
||||
$.ajax({
|
||||
|
|
Loading…
Reference in New Issue