summaryrefslogtreecommitdiff
path: root/static/website/js
diff options
context:
space:
mode:
authorJayaram Pai2013-12-04 00:00:26 +0530
committerJayaram Pai2013-12-04 00:00:26 +0530
commit57eedfbebc481aab4040ecda57d23eabf828733f (patch)
tree1fafa0751ed42d9ca25a68995b7b9d330424d68b /static/website/js
parent5e3c305f49becd0db41f63bc1c69b1a72c3119ea (diff)
downloadFOSSEE-Forum-57eedfbebc481aab4040ecda57d23eabf828733f.tar.gz
FOSSEE-Forum-57eedfbebc481aab4040ecda57d23eabf828733f.tar.bz2
FOSSEE-Forum-57eedfbebc481aab4040ecda57d23eabf828733f.zip
basic filter and ajax-loader
Diffstat (limited to 'static/website/js')
-rw-r--r--static/website/js/custom.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/static/website/js/custom.js b/static/website/js/custom.js
index 20801f6..ef0752e 100644
--- a/static/website/js/custom.js
+++ b/static/website/js/custom.js
@@ -41,4 +41,12 @@ $(document).ready(function() {
}
});
});
+
+ $(document).ajaxStart(function() {
+ $("#ajax-loader").show();
+ });
+
+ $(document).ajaxStop(function() {
+ $("#ajax-loader").hide();
+ });
});