Skip to content

Commit 06fdaa0

Browse files
authored
Merge pull request BetterBrief#35 from lukereative/pulls/no-change-track-class
Fix wrong change track exclusion class
2 parents 450b814 + ae2d5b7 commit 06fdaa0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/GoogleMapField.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -108,24 +108,24 @@ public function setupChildren() {
108108
$name.'[Latitude]',
109109
'Lat',
110110
$this->recordFieldData('Latitude')
111-
)->addExtraClass('googlemapfield-latfield no-detect-changes');
111+
)->addExtraClass('googlemapfield-latfield no-change-track');
112112

113113
$this->lngField = HiddenField::create(
114114
$name.'[Longitude]',
115115
'Lng',
116116
$this->recordFieldData('Longitude')
117-
)->addExtraClass('googlemapfield-lngfield no-detect-changes');
117+
)->addExtraClass('googlemapfield-lngfield no-change-track');
118118

119119
$this->zoomField = HiddenField::create(
120120
$name.'[Zoom]',
121121
'Zoom',
122122
$this->recordFieldData('Zoom')
123-
)->addExtraClass('googlemapfield-zoomfield no-detect-changes');
123+
)->addExtraClass('googlemapfield-zoomfield no-change-track');
124124
$this->boundsField = HiddenField::create(
125125
$name.'[Bounds]',
126126
'Bounds',
127127
$this->recordFieldData('Bounds')
128-
)->addExtraClass('googlemapfield-boundsfield no-detect-changes');
128+
)->addExtraClass('googlemapfield-boundsfield no-change-track');
129129
$this->children = new FieldList(
130130
$this->latField,
131131
$this->lngField,

0 commit comments

Comments
 (0)