diff --git a/app/views/bids/_homework.html.erb b/app/views/bids/_homework.html.erb
index f5c9f2e38..01f45bbd2 100644
--- a/app/views/bids/_homework.html.erb
+++ b/app/views/bids/_homework.html.erb
@@ -40,10 +40,9 @@
<% end %>
}
- function hiddent_alert_model()
- {
- hideModal($('#popbox02'));
- }
+ function hiddent_alert_model(){hideModal($('#popbox02'));}
+
+ function hidden_homework_atert_form(){hideModal($("#popbox"));}
diff --git a/app/views/homework_attach/show.js.erb b/app/views/homework_attach/show.js.erb
index e1366e1da..072ae317d 100644
--- a/app/views/homework_attach/show.js.erb
+++ b/app/views/homework_attach/show.js.erb
@@ -1,4 +1,7 @@
$('#ajax-modal').html('<%= escape_javascript(render :partial => 'show',:locals => {:comprehensive_evaluation => @comprehensive_evaluation,:homework => @homework, :teaher_score => @teaher_score,:can_anonymous_comments => true}) %>');
showModal('ajax-modal', '503px');
$('#ajax-modal').css('height','569px');
+$('#ajax-modal').siblings().remove();
+$('#ajax-modal').before("
" +
+ "
");