From 9eedaaeade0116ad6209c7add3bdecc4e2ff7fe8 Mon Sep 17 00:00:00 2001 From: jokob-sk Date: Thu, 20 Aug 2026 17:59:36 +1000 Subject: [PATCH] FE: ro session fields for dummy devices #1755 --- front/deviceDetailsEdit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/front/deviceDetailsEdit.php b/front/deviceDetailsEdit.php index 684ed839..61ef88fe 100755 --- a/front/deviceDetailsEdit.php +++ b/front/deviceDetailsEdit.php @@ -110,7 +110,7 @@ function getDeviceData() { // columns to hide hiddenFields = ["NEWDEV_devScan", "NEWDEV_devPresentLastScan"] // columns to disable/readonly - conditional depending if a new dummy device is created - disabledFields = mac == "new" ? ["NEWDEV_devLastNotification", "NEWDEV_devFirstConnection", "NEWDEV_devLastConnection"] : ["NEWDEV_devLastNotification", "NEWDEV_devFirstConnection", "NEWDEV_devLastConnection", "NEWDEV_devMac", "NEWDEV_devLastIP", "NEWDEV_devPrimaryIPv6", "NEWDEV_devPrimaryIPv4", "NEWDEV_devSyncHubNode", "NEWDEV_devFQDN"]; + disabledFields = mac == "new" ? ["NEWDEV_devLastNotification", "NEWDEV_devFirstConnection", "NEWDEV_devLastConnection", "NEWDEV_devFQDN", "NEWDEV_devPrimaryIPv4", "NEWDEV_devPrimaryIPv6", "NEWDEV_devSyncHubNode"] : ["NEWDEV_devLastNotification", "NEWDEV_devFirstConnection", "NEWDEV_devLastConnection", "NEWDEV_devMac", "NEWDEV_devLastIP", "NEWDEV_devPrimaryIPv6", "NEWDEV_devPrimaryIPv4", "NEWDEV_devSyncHubNode", "NEWDEV_devFQDN"]; // Fields that are tracked by authoritative handler and can be locked/unlocked const trackedFields = {