summaryrefslogtreecommitdiff
path: root/yaksh
diff options
context:
space:
mode:
Diffstat (limited to 'yaksh')
-rw-r--r--yaksh/static/yaksh/js/question_paper_creation.js3
-rw-r--r--yaksh/templates/yaksh/ajax_marks.html4
2 files changed, 1 insertions, 6 deletions
diff --git a/yaksh/static/yaksh/js/question_paper_creation.js b/yaksh/static/yaksh/js/question_paper_creation.js
index 86294b3..9996f8c 100644
--- a/yaksh/static/yaksh/js/question_paper_creation.js
+++ b/yaksh/static/yaksh/js/question_paper_creation.js
@@ -3,7 +3,6 @@ $(document).ready(function(){
$qpaper_id = $('#qpaper_id');
$marks = $('#id_marks');
$show = $('#show');
- /* ajax requsts on selectors change */
$question_type.change(function() {
this.form.submit();
});
@@ -69,4 +68,4 @@ function append_tag(tag){
else{
tag_name.value = tag.value;
}
-} \ No newline at end of file
+}
diff --git a/yaksh/templates/yaksh/ajax_marks.html b/yaksh/templates/yaksh/ajax_marks.html
deleted file mode 100644
index 716bb88..0000000
--- a/yaksh/templates/yaksh/ajax_marks.html
+++ /dev/null
@@ -1,4 +0,0 @@
-<option value='select'>Select Marks</option>
-{% for mark in marks %}
-<option value="{{ mark.0 }}"> {{ mark.0 }} </option>
-{% endfor %}