<%= l(:label_comment_add) %>
<%= form_tag({:controller => 'comments', :action => 'create', :id => @news}, :id => "add_comment_form") do %>
<% end %>
-
+
<% comments = @comments.reverse %>
<% comments.each do |comment| %>
<% next if comment.new_record? %>
diff --git a/app/views/student_work/add_score.js.erb b/app/views/student_work/add_score.js.erb
index 5e6c4fe6d..0ba275d5d 100644
--- a/app/views/student_work/add_score.js.erb
+++ b/app/views/student_work/add_score.js.erb
@@ -2,7 +2,7 @@ $("#add_student_score_<%= @work.id%>").html("<%= escape_javascript(render :parti
$('#score_<%= @work.id%>').peSlider({range: 'min'});
<% if @is_new%>
- $("#score_list_<%= @work.id%>").prepend("<%= escape_javascript(render :partial => 'student_work_score', :locals => {:score => @score}) %>");
+ $("#score_list_<%= @work.id%>").prepend("
<%= escape_javascript(render :partial => 'student_work_score', :locals => {:score => @score}) %>
");
<% else %>
$("#work_score_<%= @score.id%>").html("<%= escape_javascript(render :partial => 'student_work_score', :locals => {:score => @score}) %>");
<% end%>
diff --git a/lib/rails_kindeditor/vendor/assets/javascripts/kindeditor/themes/default/default.css b/lib/rails_kindeditor/vendor/assets/javascripts/kindeditor/themes/default/default.css
index 428b6c8b5..0d322283a 100644
--- a/lib/rails_kindeditor/vendor/assets/javascripts/kindeditor/themes/default/default.css
+++ b/lib/rails_kindeditor/vendor/assets/javascripts/kindeditor/themes/default/default.css
@@ -421,6 +421,7 @@
overflow: hidden;
margin: 0;
padding: 0;
+ max-width: 100%;
}
/* toolbar */
.ke-toolbar {
diff --git a/public/assets/kindeditor/themes/default/default.css b/public/assets/kindeditor/themes/default/default.css
index 5de213f37..c5a84c186 100644
--- a/public/assets/kindeditor/themes/default/default.css
+++ b/public/assets/kindeditor/themes/default/default.css
@@ -432,6 +432,7 @@
}
/* container */
.ke-container {
+ max-width: 100%;
display: block;
border: 1px solid #CCCCCC;
background-color: #FFF;
diff --git a/public/stylesheets/courses.css b/public/stylesheets/courses.css
index e577bde66..769136f2d 100644
--- a/public/stylesheets/courses.css
+++ b/public/stylesheets/courses.css
@@ -170,7 +170,7 @@ a:hover.work_edit{color: #fff; background: #64bdd9;}
.wzan a{ display: block;}
a.wzan_img{background:url(images/pic_zan.png) 0 -59px no-repeat; display:block; height:31px; width:30px; color:#fff;}
a.wzan_visited{background:url(images/pic_zan.png) 0 0 no-repeat;}
-.msg_box{ width:670px; height:225px; border-bottom:1px dashed #CCC; padding-top:10px;}
+.msg_box{ width:670px; border-bottom:1px dashed #CCC; padding-top:10px;}
.msg_box h4{ }
.msg_box textarea{width:658px;height:90px;padding:5px;overflow:hidden;background-color: #ffffff; border:1px solid #CCC; margin:5px 0px; color:#666; font-size:12px; }
diff --git a/public/stylesheets/public.css b/public/stylesheets/public.css
index 4bfc1ef99..0ed497127 100644
--- a/public/stylesheets/public.css
+++ b/public/stylesheets/public.css
@@ -440,3 +440,4 @@ img{max-width: 100%;}
.attachments {clear: both;}
.is_public_checkbox{margin-left: 15px;margin-right: 10px;}
.author_name{color: #3ca5c6 !important;}
+.ke-container-default{max-width: 100%;}