diff --git a/docs/UPDATES.md b/docs/UPDATES.md index 6beb8496..b3b8ddf7 100755 --- a/docs/UPDATES.md +++ b/docs/UPDATES.md @@ -1,6 +1,6 @@ -# Docker Update Strategies for NetAlertX +# Docker Update Strategies to upgrade NetAlertX -This guide outlines several approaches for updating Docker containers, specifically using NetAlertX. Each method offers different benefits depending on the situation. Here are the methods: +This guide outlines approaches for updating Docker containers, usually when upgrading to a newer version of NetAlertX. Each method offers different benefits depending on the situation. Here are the methods: - Manual: Direct commands to stop, remove, and rebuild containers. - Dockcheck: Semi-automated with more control, suited for bulk updates. diff --git a/front/deviceDetailsEdit.php b/front/deviceDetailsEdit.php index df9571b4..47605d9c 100755 --- a/front/deviceDetailsEdit.php +++ b/front/deviceDetailsEdit.php @@ -361,14 +361,14 @@ // Update data to server using POST $.post('php/server/devices.php?action=setDeviceData', { mac: $('#NEWDEV_devMac').val(), - name: encodeURIComponent($('#NEWDEV_devName').val().replace(/'/g, "")), - owner: encodeURIComponent($('#NEWDEV_devOwner').val().replace(/'/g, "")), + name: encodeURIComponent($('#NEWDEV_devName').val().replace(/'/g, "’")), + owner: encodeURIComponent($('#NEWDEV_devOwner').val().replace(/'/g, "’")), type: $('#NEWDEV_devType').val().replace(/'/g, ""), - vendor: encodeURIComponent($('#NEWDEV_devVendor').val().replace(/'/g, "")), + vendor: encodeURIComponent($('#NEWDEV_devVendor').val().replace(/'/g, "’")), icon: encodeURIComponent($('#NEWDEV_devIcon').val()), favorite: ($('#NEWDEV_devFavorite')[0].checked * 1), - group: encodeURIComponent($('#NEWDEV_devGroup').val().replace(/'/g, "")), - location: encodeURIComponent($('#NEWDEV_devLocation').val().replace(/'/g, "")), + group: encodeURIComponent($('#NEWDEV_devGroup').val().replace(/'/g, "’")), + location: encodeURIComponent($('#NEWDEV_devLocation').val().replace(/'/g, "’")), comments: encodeURIComponent(encodeSpecialChars($('#NEWDEV_devComments').val())), networknode: $('#NEWDEV_devParentMAC').val(), networknodeport: $('#NEWDEV_devParentPort').val(),