Mercurial > kallithea
changeset 8256:293cba6cec72
eslint: fix "Unnecessary semicolon"
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Fri, 10 Jan 2020 00:34:22 +0100 |
parents | 8c5f1d6d2b78 |
children | d6efaa91e967 |
files | kallithea/public/js/base.js kallithea/templates/admin/repo_groups/repo_group_edit_perms.html kallithea/templates/admin/repos/repo_edit_permissions.html kallithea/templates/admin/settings/settings_hooks.html kallithea/templates/admin/user_groups/user_group_edit_perms.html |
diffstat | 5 files changed, 7 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/kallithea/public/js/base.js Thu Jan 09 01:12:38 2020 +0100 +++ b/kallithea/public/js/base.js Fri Jan 10 00:34:22 2020 +0100 @@ -344,7 +344,7 @@ if(typeof(func)=='function'){ try{ func(); - }catch (err){}; + }catch (err){} } } } @@ -393,7 +393,7 @@ $target.css('opacity','1.0'); }) ; -}; +} function ajaxGET(url, success, failure) { if(failure === undefined) { @@ -1346,7 +1346,7 @@ } ajaxPOST(url, query_params, success, failure); -}; +} /* Multi selectors */
--- a/kallithea/templates/admin/repo_groups/repo_group_edit_perms.html Thu Jan 09 01:12:38 2020 +0100 +++ b/kallithea/templates/admin/repo_groups/repo_group_edit_perms.html Fri Jan 10 00:34:22 2020 +0100 @@ -110,7 +110,7 @@ var recursive = $('input[name=recursive]:checked').val(); ajaxActionRevokePermission(url, obj_id, obj_type, field_id, {recursive:recursive}); } - }; + } $(document).ready(function () { if (!$('#perm_new_member_name').hasClass('error')) {
--- a/kallithea/templates/admin/repos/repo_edit_permissions.html Thu Jan 09 01:12:38 2020 +0100 +++ b/kallithea/templates/admin/repos/repo_edit_permissions.html Fri Jan 10 00:34:22 2020 +0100 @@ -94,7 +94,7 @@ if (confirm(revoke_msg)){ ajaxActionRevokePermission(url, obj_id, obj_type, field_id); } - }; + } $(document).ready(function () { if (!$('#perm_new_member_name').hasClass('error')) {
--- a/kallithea/templates/admin/settings/settings_hooks.html Thu Jan 09 01:12:38 2020 +0100 +++ b/kallithea/templates/admin/settings/settings_hooks.html Fri Jan 10 00:34:22 2020 +0100 @@ -61,5 +61,5 @@ } var postData = {'hook_id': hook_id}; ajaxPOST(sUrl, postData, success, failure); -}; +} </script>
--- a/kallithea/templates/admin/user_groups/user_group_edit_perms.html Thu Jan 09 01:12:38 2020 +0100 +++ b/kallithea/templates/admin/user_groups/user_group_edit_perms.html Fri Jan 10 00:34:22 2020 +0100 @@ -99,7 +99,7 @@ if (confirm(revoke_msg)){ ajaxActionRevokePermission(url, obj_id, obj_type, field_id); } - }; + } $(document).ready(function () { if (!$('#perm_new_member_name').hasClass('error')) {