socialforge/app/views/bids/add_homework.js.erb

7 lines
433 B
Plaintext
Raw Normal View History

2013-09-13 21:52:24 +08:00
$('#bidding_project_list').html('<%= escape_javascript(render(:partial => 'homework_list', :locals => {:homework => @homework_list})) %>');
$('#put-bid-form-partial').html(' <%= escape_javascript( render( :partial => 'attachments/form') )%>')
$('#flash_notice').remove()
2013-09-13 21:52:24 +08:00
$("#project_id").val("请选择项目");
2013-11-13 10:36:35 +08:00
$("#bid_message").val( "<%= l(:label_bid_reason) %>" );
$("#put-bid-form").hide();
alert('<%= @homework_flag %>');