js.mapping-projects.min.js Maven / Gradle / Ivy
(function(b,a){function c(d){var f=d.find("tbody tr:first").children(),e;e=f.map(function(){return b(this).width()}).get();d.find("thead tr").children().each(function(h,g){b(g).width(e[h])})}b(function(){var d=b("table.scroll");b(window).resize(function(){c(d)});c(d);b("form.verify").submit(function(g){var f=this;g.preventDefault();bootbox.confirm("Are you sure?",function(e){if(e){f.submit()}})});b("#submit-new-mapping-project-btn").click(function(){b("#create-new-mapping-project-form").submit()});b("#create-new-mapping-project-form").validate();b('select[name="target-entity"]').select2()})}($,window.top.molgenis=window.top.molgenis||{}));