|
@@ -58,7 +58,7 @@
|
|
|
let visableLogo = "";
|
|
|
if (!smbShare.Browseable){
|
|
|
//This share is hidden from the share tree view
|
|
|
-
|
|
|
+
|
|
|
}
|
|
|
$("#userShareList").append(`<tr>
|
|
|
<td>${smbShare.Name}</td>
|
|
@@ -86,6 +86,12 @@
|
|
|
}else{
|
|
|
if (data != false){
|
|
|
msgbox("SMB shares deactivated");
|
|
|
+
|
|
|
+ if (typeof(initServiceList) != "undefined"){
|
|
|
+ initServiceList(function(){
|
|
|
+ openServerConfig("smbd", undefined, $(".servertype[uuid=\"smbd\"]"));
|
|
|
+ });
|
|
|
+ }
|
|
|
}
|
|
|
initSMBActivationStatusOnThisUser();
|
|
|
|
|
@@ -131,9 +137,17 @@
|
|
|
}
|
|
|
initSMBActivationStatusOnThisUser();
|
|
|
|
|
|
+ //Reload the share table
|
|
|
if (typeof(initShareListTable) != "undefined"){
|
|
|
initShareListTable();
|
|
|
}
|
|
|
+
|
|
|
+ //Reload the share endpoint in service list
|
|
|
+ if (typeof(initServiceList) != "undefined"){
|
|
|
+ initServiceList(function(){
|
|
|
+ openServerConfig("smbd", undefined, $(".servertype[uuid=\"smbd\"]"));
|
|
|
+ });
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
</script>
|