Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
4465b26a
Commit
4465b26a
authored
Aug 25, 2014
by
Don Mitchell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use opaque_keys w/ model vars not parsing of url
to generate url. LMS-11209
parent
a0e69723
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
9 deletions
+1
-9
lms/templates/courseware/xqa_interface.html
+1
-9
No files found.
lms/templates/courseware/xqa_interface.html
View file @
4465b26a
...
@@ -16,15 +16,7 @@ function setup_debug(element_id, edit_link, staff_context){
...
@@ -16,15 +16,7 @@ function setup_debug(element_id, edit_link, staff_context){
var
username
=
$
(
"#"
+
element_id
+
"_history_student_username"
).
val
();
var
username
=
$
(
"#"
+
element_id
+
"_history_student_username"
).
val
();
var
location
=
$
(
"#"
+
element_id
+
"_history_location"
).
val
();
var
location
=
$
(
"#"
+
element_id
+
"_history_location"
).
val
();
// This is a ridiculous way to get the course_id, but I'm not sure
$
(
"#"
+
element_id
+
"_history_text"
).
load
(
'/courses/'
+
"${unicode(course.id)}"
+
// how to do it sensibly from within the staff debug code.
// staff_problem_info.html is rendered through a wrapper to get_html
// that's injected by the code that adds the histogram -- it's all
// kinda bizarre, and it remains awkward to simply ask "what course
// is this problem being shown in the context of."
var
path_parts
=
window
.
location
.
pathname
.
split
(
'/'
);
var
course_id
=
path_parts
[
2
]
+
"/"
+
path_parts
[
3
]
+
"/"
+
path_parts
[
4
];
$
(
"#"
+
element_id
+
"_history_text"
).
load
(
'/courses/'
+
course_id
+
"/submission_history/"
+
username
+
"/"
+
location
);
"/submission_history/"
+
username
+
"/"
+
location
);
return
false
;
return
false
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment