From a96acd2f2fd3f4faf83be11a7acf63f2d3f96c97 Mon Sep 17 00:00:00 2001 From: Ahsan Ulhaq Date: Wed, 1 Apr 2015 12:05:15 +0500 Subject: [PATCH] iframe elements require a meaningful title attribute TNL-1675 --- cms/djangoapps/models/settings/course_details.py | 2 +- cms/templates/settings.html | 2 +- lms/templates/index.html | 2 +- lms/templates/lti.html | 1 + 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/cms/djangoapps/models/settings/course_details.py b/cms/djangoapps/models/settings/course_details.py index afb215e018..ab96448dad 100644 --- a/cms/djangoapps/models/settings/course_details.py +++ b/cms/djangoapps/models/settings/course_details.py @@ -215,7 +215,7 @@ class CourseDetails(object): # the right thing result = None if video_key: - result = '' return result diff --git a/cms/templates/settings.html b/cms/templates/settings.html index ad78d9eb22..04e225c5a7 100644 --- a/cms/templates/settings.html +++ b/cms/templates/settings.html @@ -263,7 +263,7 @@ CMS.URL.UPLOAD_ASSET = '${upload_asset_url}';
- +
${_("Delete Current Video")} diff --git a/lms/templates/index.html b/lms/templates/index.html index 2e9d094df8..5ae98e7d64 100644 --- a/lms/templates/index.html +++ b/lms/templates/index.html @@ -74,7 +74,7 @@ if self.stanford_theme_enabled(): youtube_video_id = "2gmreZObCY4" %> - +
diff --git a/lms/templates/lti.html b/lms/templates/lti.html index dc587ae9ac..aac4716505 100644 --- a/lms/templates/lti.html +++ b/lms/templates/lti.html @@ -39,6 +39,7 @@ % else: ## The result of the form submit will be rendered here.