Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions src/web/components/access.html
Original file line number Diff line number Diff line change
Expand Up @@ -1677,4 +1677,13 @@ <h2>Quick Ban List</h2>
// Scope to this page's accordion only; .advanceSettings is reused by
// other webmin components loaded dynamically via ajax.
$("#accessAdvanceSettings").accordion();

//Bind on tab switch events
tabSwitchEventBind["access"] = function(){
//The lists are only loaded when this component is first rendered or
//when another access rule is picked. Anything that changed them in
//between - another session, or a plugin syncing IPs into a whitelist -
//stays invisible until a full page reload, so reload them here.
initBlackWhitelistTables();
};
</script>