|
|
|
@ -83,6 +83,14 @@
|
|
|
|
|
function hideError(){
|
|
|
|
|
$("#error").html("").hide();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function create_cancle(){
|
|
|
|
|
$('#error').hide();
|
|
|
|
|
$('#new_forum_div').slideToggle();
|
|
|
|
|
$('#create_btn').parent().slideToggle();
|
|
|
|
|
$("#forum_name").val('');
|
|
|
|
|
$("#forum_desc").val('');
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<div class="homepageContentContainer mb10">
|
|
|
|
@ -107,7 +115,7 @@
|
|
|
|
|
</div>
|
|
|
|
|
<div class="mt10">
|
|
|
|
|
<div class="fr"><a href="javascript:void(0);" class="submit_btn" onclick="check_and_submit($(this));">确定</a></div>
|
|
|
|
|
<div class="fr"><a href="javascript:void(0);" class="linkGrey2 mr10" onclick=" $('#error').hide();$('#new_forum_div').slideToggle();$('#create_btn').parent().slideToggle();">取消</a><span class="mr10 fontGrey">或</span></div>
|
|
|
|
|
<div class="fr"><a href="javascript:void(0);" class="linkGrey2 mr10" onclick="create_cancle();">取消</a><span class="mr10 fontGrey">或</span></div>
|
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
</div>
|
|
|
|
|
<% end %>
|
|
|
|
|