X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/f6695c9079f4eeeecaa796c879868f797f97cd55..60f2074baca1b36bf02b02be976a2527d60c5fef:/app/assets/javascripts/user.js diff --git a/app/assets/javascripts/user.js b/app/assets/javascripts/user.js index 7e7e7c803..44872a78c 100644 --- a/app/assets/javascripts/user.js +++ b/app/assets/javascripts/user.js @@ -103,4 +103,20 @@ $(document).ready(function () { } else { enableAuth(); } + + $("#user_all").change(function () { + $("#user_list input[type=checkbox]").prop("checked", $("#user_all").prop("checked")); + }); + + $("#content.user_confirm").each(function () { + $(this).hide(); + $(this).find("#confirm").submit(); + }); + + $("input[name=legale]").change(function () { + var url = $(this).data("url"); + + $("#contributorTerms").html(""); + $("#contributorTerms").load(url); + }); });