From ae2d5b78e6dd054430dbf08131b96e9f66dbacb2 Mon Sep 17 00:00:00 2001 From: Luke Edwards Date: Fri, 21 Sep 2018 11:17:22 +1200 Subject: [PATCH] Fix wrong change track exclusion class --- src/GoogleMapField.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/GoogleMapField.php b/src/GoogleMapField.php index e354256..46ef6d3 100644 --- a/src/GoogleMapField.php +++ b/src/GoogleMapField.php @@ -108,24 +108,24 @@ public function setupChildren() { $name.'[Latitude]', 'Lat', $this->recordFieldData('Latitude') - )->addExtraClass('googlemapfield-latfield no-detect-changes'); + )->addExtraClass('googlemapfield-latfield no-change-track'); $this->lngField = HiddenField::create( $name.'[Longitude]', 'Lng', $this->recordFieldData('Longitude') - )->addExtraClass('googlemapfield-lngfield no-detect-changes'); + )->addExtraClass('googlemapfield-lngfield no-change-track'); $this->zoomField = HiddenField::create( $name.'[Zoom]', 'Zoom', $this->recordFieldData('Zoom') - )->addExtraClass('googlemapfield-zoomfield no-detect-changes'); + )->addExtraClass('googlemapfield-zoomfield no-change-track'); $this->boundsField = HiddenField::create( $name.'[Bounds]', 'Bounds', $this->recordFieldData('Bounds') - )->addExtraClass('googlemapfield-boundsfield no-detect-changes'); + )->addExtraClass('googlemapfield-boundsfield no-change-track'); $this->children = new FieldList( $this->latField, $this->lngField,