summaryrefslogtreecommitdiff
path: root/static/website/js
diff options
context:
space:
mode:
authorJayaram Pai2014-01-24 11:03:35 +0530
committerJayaram Pai2014-01-24 11:03:35 +0530
commitaa874ae1e64753a926aa6783dea2ad4ccb300973 (patch)
tree5fc946df3592f9ed5953b724d80302e3206a68aa /static/website/js
parent9f7c82e28316490ff479e31eb7b50db1e6ef1cd8 (diff)
downloadspoken-tutorial-forums-aa874ae1e64753a926aa6783dea2ad4ccb300973.tar.gz
spoken-tutorial-forums-aa874ae1e64753a926aa6783dea2ad4ccb300973.tar.bz2
spoken-tutorial-forums-aa874ae1e64753a926aa6783dea2ad4ccb300973.zip
fixed the ajax notificaion for QuestionDetailsEdit, changed wsgi.py
Diffstat (limited to 'static/website/js')
-rw-r--r--static/website/js/thread-user.js6
1 files changed, 4 insertions, 2 deletions
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");
}
});
});