Fix SMB read/write settings in tabbed mode

This commit is contained in:
Squidly271
2025-09-27 01:19:53 -04:00
committed by GitHub
parent fcc3704503
commit d4be4e04b4

View File

@@ -267,7 +267,7 @@ $(function() {
checkShareSettingsSMB(document.smb_edit);
initDropdownSMB(false);
<?if ($tabbed):?>
$('#tab'+$('input[name$="tabs"]').length).bind({click:function(){initDropdownSMB(true);}});
$('#tab'+$('.tabs-container button').length).bind({click:function(){initDropdownSMB(true);}});
<?endif;?>
<?if (count($users)==1):?>
toggleButton('readusersmb',true);