aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorzsloan2020-11-18 13:44:38 -0600
committerzsloan2020-11-18 13:44:38 -0600
commit56445de585552ecb60c62d608f510f01fabc454b (patch)
tree2724f1141f86cf86c8585d76f748280e2ac76054 /wqflask
parentd78d7561bd05bdd1e24cd312c7075c16b331b7b6 (diff)
downloadgenenetwork2-56445de585552ecb60c62d608f510f01fabc454b.tar.gz
Added some jquery closing the "Add To Collection" colorbox window after
its form is submitted
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/templates/collections/add.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/wqflask/wqflask/templates/collections/add.html b/wqflask/wqflask/templates/collections/add.html
index 62b6abb5..b4e5385b 100644
--- a/wqflask/wqflask/templates/collections/add.html
+++ b/wqflask/wqflask/templates/collections/add.html
@@ -50,4 +50,7 @@
<script>
$('#add_form').parsley();
+ $('#add_form').on('submit', function(){
+ parent.jQuery.colorbox.close();
+ });
</script>