From: Charles Holbrow Date: Thu, 21 Mar 2013 21:18:13 +0000 (-0400) Subject: removing deep link functionality when uploading from the course list X-Git-Tag: release-20150131~476 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9876e0110bf1943b234b1522ead96f52d06e75f2;p=oweals%2Fkarmaworld.git removing deep link functionality when uploading from the course list --- diff --git a/karmaworld/assets/js/lightboxupload.js b/karmaworld/assets/js/lightboxupload.js index 0dd9476..548a4b9 100644 --- a/karmaworld/assets/js/lightboxupload.js +++ b/karmaworld/assets/js/lightboxupload.js @@ -10,7 +10,7 @@ $(function(){ // Get the first hasgh, remove the # character var hash = window.location.hash.substring(1); - if (hash === 'add-note'){ + if (hash === 'upload-note'){ $('#add-note-form').show(); $('#add-note-btn').hide(); } diff --git a/karmaworld/templates/courses/course_list.html b/karmaworld/templates/courses/course_list.html index 240f8fa..190f033 100644 --- a/karmaworld/templates/courses/course_list.html +++ b/karmaworld/templates/courses/course_list.html @@ -124,7 +124,7 @@ $(document).ready(function() { {{ course.file_count }} {{ course.school.name }} {{ course.name }} -
+
{{ course.instructor_name }} {% endfor %}