This commit is contained in:
sw 2015-03-21 17:08:45 +08:00
commit 21782b9153
3 changed files with 3 additions and 2 deletions

View File

@ -165,7 +165,7 @@
<tr>
<td colspan="2" width="580px" >
<span class="font_description">
<%= textilizable bid, :description %>
<%= bid.description %>
</span>
</td>
</tr>

View File

@ -31,4 +31,5 @@ closeModal();
$("#resource_list").html('<%= j(render partial: "course_file" ,locals: {course: @course}) %>');
<%end%>
<% end %>
$(document).ready(img_thumbnails);

View File

@ -4,7 +4,7 @@
var filter = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;
if(email == "")
{
$("#valid_email").html("电子邮件不能为空");
$("#valid_email").html("邮箱地址不能为空!");
}
else if (filter.test(email)) {
$("#valid_email").html("");