Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
WCMS
uw_ct_event
Commits
4647fd4d
Commit
4647fd4d
authored
Nov 16, 2011
by
ccarigna
Browse files
Added lat/long field support
parent
460e5f07
Changes
1
Hide whitespace changes
Inline
Side-by-side
js/location-ajax.js
View file @
4647fd4d
...
...
@@ -51,7 +51,9 @@
city
:
''
,
province
:
''
,
postal_code
:
''
,
country
:
'
ca
'
country
:
'
ca
'
,
latitude
:
''
,
longitude
:
''
}
);
}
...
...
@@ -71,6 +73,8 @@
$
(
'
#edit-field-event-location-und-0-province
'
).
val
(
data
.
province
);
$
(
'
#edit-field-event-location-und-0-postal-code
'
).
val
(
data
.
postal_code
);
$
(
'
#edit-field-event-location-und-0-country
'
).
val
(
data
.
country
);
$
(
'
#edit-field-event-location-und-0-locpick-user-latitude
'
).
val
(
data
.
latitude
);
$
(
'
#edit-field-event-location-und-0-locpick-user-longitude
'
).
val
(
data
.
longitude
);
}
}(
jQuery
));
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment