Merge branch 'dev_hjq' of http://repository.trustie.net/xianbo/trustie2 into dev_hjq
commit
154ee9f38b
@ -1,3 +1,13 @@
|
||||
//$('#ajax-modal').html('<%#= escape_javascript(render :partial => 'courses/show_member_score', :locals => {:member => @member_score}) %>');
|
||||
//showModal('ajax-modal', '400px');
|
||||
//$('#ajax-modal').addClass('new-watcher');
|
||||
|
||||
$('#ajax-modal').html('<%= escape_javascript(render :partial => 'courses/show_member_score', :locals => {:member => @member_score}) %>');
|
||||
showModal('ajax-modal', '400px');
|
||||
$('#ajax-modal').addClass('new-watcher');
|
||||
//$('#ajax-modal').css('height','569px');
|
||||
$('#ajax-modal').siblings().remove();
|
||||
$('#ajax-modal').before("<span style='float: right;cursor:pointer;padding-left: 513px;'>" +
|
||||
"<a href='javascript:void(0)' onclick='hidden_homework_score_form();'><img src='/images/bid/close.png' width='26px' height='26px' /></a></span>");
|
||||
//$('#ajax-modal').parent().removeClass();
|
||||
$('#ajax-modal').parent().css("top","30%").css("left","40%").css("position","fixed");
|
||||
$('#ajax-modal').parent().addClass("new-watcher");
|
||||
|
@ -0,0 +1,8 @@
|
||||
class ChangeBidOpenAnonymousEvaluation < ActiveRecord::Migration
|
||||
def chang
|
||||
Bid.where("open_anonymous_evaluation IS NULL").each do |bid|
|
||||
bid.open_anonymous_evaluation = 0
|
||||
bid.save
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Reference in new issue