编辑课程讨论区回复时的问题

This commit is contained in:
sw 2015-05-08 16:14:46 +08:00
parent 1b6ecbf520
commit 6a31a99c93
4 changed files with 10 additions and 2 deletions

View File

@ -9,9 +9,9 @@
<div style="display: none;"><%= f.text_field :subject, { size: 60, id: "message_subject",:class=>"talk_input w585 fl" }.merge(extra_option) %></div> <div style="display: none;"><%= f.text_field :subject, { size: 60, id: "message_subject",:class=>"talk_input w585 fl" }.merge(extra_option) %></div>
<% else %> <% else %>
<%= f.text_field :subject, { size: 60, id: "message_subject", onkeyup: "regexSubject();",:class=>"talk_input w585" }.merge(extra_option) %> <%= f.text_field :subject, { size: 60, id: "message_subject", onkeyup: "regexSubject();",:class=>"talk_input w585" }.merge(extra_option) %>
<p id="subject_span" class="ml55"></p>
<% end %> <% end %>
<div class="cl"></div> <div class="cl"></div>
<p id="subject_span" class="ml55"></p>
</li> </li>
<li class="ml60 mb5"> <li class="ml60 mb5">
<% unless replying %> <% unless replying %>

View File

@ -438,6 +438,13 @@ ActiveRecord::Schema.define(:version => 20150505025537) do
add_index "delayed_jobs", ["priority", "run_at"], :name => "delayed_jobs_priority" add_index "delayed_jobs", ["priority", "run_at"], :name => "delayed_jobs_priority"
create_table "discuss_demos", :force => true do |t|
t.string "title"
t.text "body"
t.datetime "created_at", :null => false
t.datetime "updated_at", :null => false
end
create_table "documents", :force => true do |t| create_table "documents", :force => true do |t|
t.integer "project_id", :default => 0, :null => false t.integer "project_id", :default => 0, :null => false
t.integer "category_id", :default => 0, :null => false t.integer "category_id", :default => 0, :null => false

View File

@ -526,6 +526,7 @@ $(function(){
//查找TAG资源 //查找TAG资源
function search_tag_attachment(url,tag_name,q,course_id,sort) function search_tag_attachment(url,tag_name,q,course_id,sort)
{ {
//alert("111");
$.get( $.get(
url, url,
{ {

View File

@ -481,7 +481,7 @@ a:hover.link_file{ background:url(../images/pic_file.png) 0 -25px no-repeat; col
/*日历选择图*/ /*日历选择图*/
img.ui-datepicker-trigger { img.ui-datepicker-trigger {
display:block; display:block;
background:url(/images/public_icon.png) -31px 0 no-repeat; background:url(../images/public_icon.png) -31px 0 no-repeat;
cursor: pointer; cursor: pointer;
vertical-align: middle; vertical-align: middle;
margin-left: 5px; margin-left: 5px;