From 51779c2c7736adec88fe955b691b7cf8b34965d8 Mon Sep 17 00:00:00 2001 From: jason20c Date: Thu, 23 Nov 2023 08:33:17 +0000 Subject: [PATCH] formatting --- src/django_ixctl/static/ixctl/v2/ixctl.js | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/django_ixctl/static/ixctl/v2/ixctl.js b/src/django_ixctl/static/ixctl/v2/ixctl.js index 740d7593..a9f0b717 100644 --- a/src/django_ixctl/static/ixctl/v2/ixctl.js +++ b/src/django_ixctl/static/ixctl/v2/ixctl.js @@ -696,6 +696,12 @@ $ctl.application.Ixctl.MemberList = $tc.extend( return apiobj.ixf_state == "active" || apiobj.port != null; }, + /** + * hides or shows members with md5 activated in the list. + * + * @method toggle_md5_filter + * @param {Boolean} [active] + */ toggle_md5_filter : function(active = null) { const filter_status = active != null ? active : !this.filter_status.md5_members; this.filter_status.md5_members = filter_status; @@ -713,7 +719,7 @@ $ctl.application.Ixctl.MemberList = $tc.extend( /** * Add a class to rows that do not have md5. This is used to hide them. * - * @method hide_active_members + * @method hide_non_md5_members * @param {Event} e * @param {jQuery} row * @param {Object} data @@ -727,7 +733,7 @@ $ctl.application.Ixctl.MemberList = $tc.extend( /** * Returns true if the member has md5. * - * @method is_member_active + * @method is_member_md5 * @param {Object} apiobj */ is_member_md5 : function(apiobj) {