2014-10-31 11:48:40 +08:00
|
|
|
$('#tbc_01').html('<%= escape_javascript(render(:partial => 'homeworks_list',
|
2014-12-30 14:29:30 +08:00
|
|
|
:locals => {:homeworks => @homework_list, :homework_count => @obj_count, :bid => @bid, :remote => true,:is_all_homeworks => @is_all_homeworks} )) %>');
|
2014-10-31 15:28:04 +08:00
|
|
|
for(var i=1;i<=4;i++){$("#tb_"+i).removeClass().addClass("normaltab");}
|
2014-10-30 17:27:07 +08:00
|
|
|
$("#tb_3").removeClass().addClass("hovertab");
|
2014-10-30 16:33:14 +08:00
|
|
|
|
2014-11-01 11:02:13 +08:00
|
|
|
for(var i=5;i<=8;i++){$("#tb_"+i).removeClass().addClass("normaltab");}
|
|
|
|
$("#tb_7").removeClass().addClass("hovertab");
|
|
|
|
|