Changeset - 293cba6cec72
[Not reviewed]
default
0 5 0
Mads Kiilerich - 6 years ago 2020-01-10 00:34:22
mads@kiilerich.com
eslint: fix "Unnecessary semicolon"
5 files changed with 7 insertions and 7 deletions:
0 comments (0 inline, 0 general)
kallithea/public/js/base.js
Show inline comments
 
@@ -344,7 +344,7 @@ var _run_callbacks = function(callbacks)
 
            if(typeof(func)=='function'){
 
                try{
 
                    func();
 
                }catch (err){};
 
                }catch (err){}
 
            }
 
        }
 
    }
 
@@ -393,7 +393,7 @@ function asynchtml(url, $target, success
 
                $target.css('opacity','1.0');
 
            })
 
        ;
 
};
 
}
 

	
 
function ajaxGET(url, success, failure) {
 
    if(failure === undefined) {
 
@@ -1346,7 +1346,7 @@ function ajaxActionRevokePermission(url,
 
    }
 

	
 
    ajaxPOST(url, query_params, success, failure);
 
};
 
}
 

	
 
/* Multi selectors */
 

	
kallithea/templates/admin/repo_groups/repo_group_edit_perms.html
Show inline comments
 
@@ -110,7 +110,7 @@ ${h.end_form()}
 
            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')) {
kallithea/templates/admin/repos/repo_edit_permissions.html
Show inline comments
 
@@ -94,7 +94,7 @@ ${h.end_form()}
 
        if (confirm(revoke_msg)){
 
            ajaxActionRevokePermission(url, obj_id, obj_type, field_id);
 
        }
 
    };
 
    }
 

	
 
    $(document).ready(function () {
 
        if (!$('#perm_new_member_name').hasClass('error')) {
kallithea/templates/admin/settings/settings_hooks.html
Show inline comments
 
@@ -61,5 +61,5 @@ function delete_hook(hook_id, field_id) 
 
        }
 
    var postData = {'hook_id': hook_id};
 
    ajaxPOST(sUrl, postData, success, failure);
 
};
 
}
 
</script>
kallithea/templates/admin/user_groups/user_group_edit_perms.html
Show inline comments
 
@@ -99,7 +99,7 @@ ${h.end_form()}
 
        if (confirm(revoke_msg)){
 
            ajaxActionRevokePermission(url, obj_id, obj_type, field_id);
 
        }
 
    };
 
    }
 

	
 
    $(document).ready(function () {
 
        if (!$('#perm_new_member_name').hasClass('error')) {
0 comments (0 inline, 0 general)