From cc0000be43419874645292d689797540401a570e Mon Sep 17 00:00:00 2001 From: Charles Connell Date: Wed, 26 Mar 2014 10:48:08 -0400 Subject: [PATCH] Note search --- karmaworld/assets/js/course-detail.js | 5 ----- karmaworld/templates/courses/course_detail.html | 6 +++--- karmaworld/templates/courses/course_list.html | 4 +++- 3 files changed, 6 insertions(+), 9 deletions(-) diff --git a/karmaworld/assets/js/course-detail.js b/karmaworld/assets/js/course-detail.js index ebdaabd..b3f9941 100644 --- a/karmaworld/assets/js/course-detail.js +++ b/karmaworld/assets/js/course-detail.js @@ -134,11 +134,6 @@ $(function() { 'aaSorting': [[1,'desc']] }); - // wire up search box - $('input.search-notes').keyup(function() { - dataTable.fnFilter($(this).val()); - }); - // wire up sort chooser $('select.course-sort').change(function() { dataTable.fnSort([[$(this).val(), 'desc']]); diff --git a/karmaworld/templates/courses/course_detail.html b/karmaworld/templates/courses/course_detail.html index d2bcd12..ea074d5 100644 --- a/karmaworld/templates/courses/course_detail.html +++ b/karmaworld/templates/courses/course_detail.html @@ -147,10 +147,10 @@ {{ file_upload_form.fp_file }}
-
+ - - + +
diff --git a/karmaworld/templates/courses/course_list.html b/karmaworld/templates/courses/course_list.html index 9989c4d..c2cdd87 100644 --- a/karmaworld/templates/courses/course_list.html +++ b/karmaworld/templates/courses/course_list.html @@ -44,7 +44,9 @@
- + + +
-- 2.25.1