Skip to content

Commit d693e1e

Browse files
committed
FIX Allow config options to override default js options
1 parent 3e3254a commit d693e1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

code/GoogleMapField.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ public function Field($properties = array()) {
139139
),
140140
);
141141

142-
$jsOptions = array_replace_recursive($this->options, $jsOptions);
142+
$jsOptions = array_replace_recursive($jsOptions, $this->options);
143143
$this->setAttribute('data-settings', Convert::array2json($jsOptions));
144144
$this->requireDependencies();
145145
return parent::Field($properties);

0 commit comments

Comments
 (0)