diff options
author | zsloan | 2021-09-22 17:52:37 +0000 |
---|---|---|
committer | zsloan | 2021-09-22 17:52:37 +0000 |
commit | 7cb23fe9c03e4f8051340e2a8f32645e88acce3a (patch) | |
tree | 08998cf594089e9261c702e69acd49cd0e2aeb53 | |
parent | 92df90d68c3d3067f6856c6894be92c7c5dbcaa6 (diff) | |
download | genenetwork2-7cb23fe9c03e4f8051340e2a8f32645e88acce3a.tar.gz |
Added type='button' to the Delete Collection button within collections/view, since without it it attempts to submit the form encapsulating the button (export in this case)
-rw-r--r-- | wqflask/wqflask/templates/collections/view.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/wqflask/templates/collections/view.html b/wqflask/wqflask/templates/collections/view.html index 9ec98ab1..a3090bcf 100644 --- a/wqflask/wqflask/templates/collections/view.html +++ b/wqflask/wqflask/templates/collections/view.html @@ -49,7 +49,7 @@ <input type="text" id="select_top" class="form-control" style="width: 200px; display: inline; padding-bottom: 9px;" placeholder="Select Top ..."> <button class="btn btn-default" id="deselect_all" type="button"><span class="glyphicon glyphicon-remove"></span> Deselect</button> <button id="remove" class="btn btn-danger" data-url="/collections/remove" type="button" disabled><i class="icon-minus-sign"></i> Delete Rows</button> - <button id="delete" class="btn btn-danger submit_special" data-url="/collections/delete" title="Delete this collection" > Delete Collection</button> + <button id="delete" class="btn btn-danger submit_special" data-url="/collections/delete" type="button" title="Delete this collection" > Delete Collection</button> </form> </div> <div style="margin-top: 10px; margin-bottom: 5px;"> |