Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
geo_entity
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
geo_entity
Commits
f13cc83d
Commit
f13cc83d
authored
1 year ago
by
Andy Broomfield
Committed by
ekes
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3390087
: Error when trying to edit an existing geo entity in an entity browser
parent
a359aa19
No related branches found
No related tags found
1 merge request
!5
Issue #3390087: Error when trying to edit an existing geo entity in an entity browser
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
geo_entity.module
+1
-1
1 addition, 1 deletion
geo_entity.module
with
1 addition
and
1 deletion
geo_entity.module
+
1
−
1
View file @
f13cc83d
...
...
@@ -112,7 +112,7 @@ function geo_entity_views_pre_render(ViewExecutable $view) {
* Adds JS event handler to Geofield Map lon lat fields for geocoder.
*/
function
geo_entity_geofield_map_latlon_element_alter
(
array
&
$map_settings
,
array
&
$complete_form
,
array
&
$form_state_values
)
{
$complete_form
[
'#attached'
][
'library'
]
=
'geo_entity/geocode-geofield'
;
$complete_form
[
'#attached'
][
'library'
]
[]
=
'geo_entity/geocode-geofield'
;
$complete_form
[
'#attached'
][
'drupalSettings'
][
'geoEntityGeocode'
][
'geofield'
][
$complete_form
[
'#id'
]]
=
[
'lon'
=>
$map_settings
[
'lngid'
],
'lat'
=>
$map_settings
[
'latid'
],
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment