From 9876e0110bf1943b234b1522ead96f52d06e75f2 Mon Sep 17 00:00:00 2001 From: Charles Holbrow Date: Thu, 21 Mar 2013 17:18:13 -0400 Subject: [PATCH] removing deep link functionality when uploading from the course list --- karmaworld/assets/js/lightboxupload.js | 2 +- karmaworld/templates/courses/course_list.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 %} -- 2.25.1