diff options
author | zsloan | 2020-11-18 13:44:38 -0600 |
---|---|---|
committer | zsloan | 2020-11-18 13:44:38 -0600 |
commit | 56445de585552ecb60c62d608f510f01fabc454b (patch) | |
tree | 2724f1141f86cf86c8585d76f748280e2ac76054 | |
parent | d78d7561bd05bdd1e24cd312c7075c16b331b7b6 (diff) | |
download | genenetwork2-56445de585552ecb60c62d608f510f01fabc454b.tar.gz |
Added some jquery closing the "Add To Collection" colorbox window after
its form is submitted
-rw-r--r-- | wqflask/wqflask/templates/collections/add.html | 3 |
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> |