summaryrefslogtreecommitdiff
path: root/yaksh/static
diff options
context:
space:
mode:
authoradityacp2018-01-02 15:51:36 +0530
committeradityacp2018-01-02 15:51:36 +0530
commitde0f0be2f5963da2f03616c192dfe339c021eff6 (patch)
treefafaac934e42e5f877257c6a9700074f7bff8822 /yaksh/static
parent8a062d48a0347ae43b1b9d5b1ca532387d8ad3d9 (diff)
downloadonline_test-de0f0be2f5963da2f03616c192dfe339c021eff6.tar.gz
online_test-de0f0be2f5963da2f03616c192dfe339c021eff6.tar.bz2
online_test-de0f0be2f5963da2f03616c192dfe339c021eff6.zip
Changes in views, models, templates and js
- Rename learning_type to type in Lesson model - Change error message in views and change redirection - Change templates to rename learning_type to type for unit - Add new dialog for embedding Video URL
Diffstat (limited to 'yaksh/static')
-rw-r--r--yaksh/static/yaksh/js/design_course.js6
-rw-r--r--yaksh/static/yaksh/js/lesson.js4
2 files changed, 4 insertions, 6 deletions
diff --git a/yaksh/static/yaksh/js/design_course.js b/yaksh/static/yaksh/js/design_course.js
index 2e2f6c9..7b01491 100644
--- a/yaksh/static/yaksh/js/design_course.js
+++ b/yaksh/static/yaksh/js/design_course.js
@@ -20,9 +20,7 @@ $(document).ready(function(){
$(this).append('<input type="hidden" name="ordered_list" value='+order_list+'>');
return true;
});
- var msg = "If the value is True, Check if Prerequisite is completed. \n" +
- "If the value is False, Don't check for Prerequisite. \n" +
- "Prerequisite can either be a Quiz or Lesson. \n" +
- "Prerequisite is checked according to the order of Quiz or Lesson.";
+ var msg = "Check Prerequisite is set to Yes by default \n" +
+ "To change, select the Change checkbox and Click Change Prerequisite button \n";
$("#prereq_msg").attr("title", msg);
}); \ No newline at end of file
diff --git a/yaksh/static/yaksh/js/lesson.js b/yaksh/static/yaksh/js/lesson.js
index 82552b0..6f873b9 100644
--- a/yaksh/static/yaksh/js/lesson.js
+++ b/yaksh/static/yaksh/js/lesson.js
@@ -42,8 +42,8 @@ $(document).ready(function(){
}
$("#embed").click(function() {
- $("#dialog").toggle();
- $("#dialog").dialog({
+ $("#dialog_iframe").toggle();
+ $("#dialog_iframe").dialog({
resizable: false,
height: '300',
width: '450'