Fixed bug in copying SMB settings to other shares

This commit is contained in:
bergware
2017-06-20 20:15:21 +02:00
parent 06dee68da8
commit 718e4baa7e

View File

@@ -232,7 +232,7 @@ function writeSMB() {
var data = {}, copied = false;
data.shareExport = '<?=addslashes(htmlspecialchars($sec[$name]['export']))?>';
data.shareFruit = '<?=addslashes(htmlspecialchars($sec[$name]['fruit']))?>';
data.shareSecurity = '<?=addslashes(htmlspecialchars($sec[$name]['shareSecurity']))?>';
data.shareSecurity = '<?=addslashes(htmlspecialchars($sec[$name]['security']))?>';
data.changeShareSecurity = 'Apply';
$('select#smb1 option').map(function() {
if ($(this).prop('selected')==true) {