memcached_alan
sw 10 years ago
commit 3bedddd190

@ -27,7 +27,7 @@ class CommentsController < ApplicationController
raise Unauthorized unless @news.commentable?
@comment = Comment.new
@comment.comments = params[:comment]
@comment.safe_attributes = params[:comment]
@comment.author = User.current
if @news.comments << @comment
if params[:asset_id]

@ -403,4 +403,10 @@ $(function(){
//将右侧的最小高度设置成左侧高度,美化界面
$(document).ready(function () {
$("#RSide").css("min-height",$("#LSide").height()-30);
});
});
// 日历选择日期后关闭
function regexDeadLine()
{
('#ui-datepicker-div').hide;
}

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save