From 164844205217c2624725c76fb925c670a9370593 Mon Sep 17 00:00:00 2001
From: Waheed Ahmed
Date: Thu, 15 May 2014 12:47:51 +0500
Subject: [PATCH 1/2] Reset attempts, delete state and rescore buttons not
working on staff debug. LMS-2706
---
lms/static/js/staff_debug_actions.js | 6 +++---
lms/templates/staff_problem_info.html | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/lms/static/js/staff_debug_actions.js b/lms/static/js/staff_debug_actions.js
index fb602a2388..1f61b8346b 100644
--- a/lms/static/js/staff_debug_actions.js
+++ b/lms/static/js/staff_debug_actions.js
@@ -111,15 +111,15 @@ var StaffDebug = (function(){
// Register click handlers
$(document).ready(function() {
- $('#staff-debug-reset').click(function() {
+ $('.staff-debug-reset').click(function() {
StaffDebug.reset($(this).data('location'));
return false;
});
- $('#staff-debug-sdelete').click(function() {
+ $('.staff-debug-sdelete').click(function() {
StaffDebug.sdelete($(this).data('location'));
return false;
});
- $('#staff-debug-rescore').click(function() {
+ $('.staff-debug-rescore').click(function() {
StaffDebug.rescore($(this).data('location'));
return false;
});
diff --git a/lms/templates/staff_problem_info.html b/lms/templates/staff_problem_info.html
index 4bdc157d95..c835c003f6 100644
--- a/lms/templates/staff_problem_info.html
+++ b/lms/templates/staff_problem_info.html
@@ -63,11 +63,11 @@ ${block_content}
From 6b84f8ab862c13f8448bf96ed046c2b773b01e84 Mon Sep 17 00:00:00 2001
From: Waheed Ahmed
Date: Thu, 15 May 2014 17:07:10 +0500
Subject: [PATCH 2/2] Fixed on instructor dash too.
---
.../instructor/instructor_dashboard_2/student_admin.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lms/templates/instructor/instructor_dashboard_2/student_admin.html b/lms/templates/instructor/instructor_dashboard_2/student_admin.html
index 93856d6695..7fa5d6eb74 100644
--- a/lms/templates/instructor/instructor_dashboard_2/student_admin.html
+++ b/lms/templates/instructor/instructor_dashboard_2/student_admin.html
@@ -10,7 +10,7 @@
- ${_("View Gradebook")}
+ ${_("View Gradebook")}
%endif