From aa874ae1e64753a926aa6783dea2ad4ccb300973 Mon Sep 17 00:00:00 2001 From: Jayaram Pai Date: Fri, 24 Jan 2014 11:03:35 +0530 Subject: fixed the ajax notificaion for QuestionDetailsEdit, changed wsgi.py --- static/website/js/thread-user.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'static/website/js') diff --git a/static/website/js/thread-user.js b/static/website/js/thread-user.js index 189d126..e44448a 100644 --- a/static/website/js/thread-user.js +++ b/static/website/js/thread-user.js @@ -100,7 +100,7 @@ $(document).ready(function() { $question_second_range = $('#id_second_range'); $question_details_ok.click(function() { - console.log($(this).data("qid")); + $saving.show(); var category = $question_category.val(); var tutorial = $question_tutorial.val(); var minute_range = $question_minute_range.val(); @@ -141,7 +141,9 @@ $(document).ready(function() { } else { $(".second_range").hide() } - console.log(data); + $saving.hide(); + $saved.show(); + $saved.fadeOut("slow"); } }); }); -- cgit