mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-14 13:33:14 +00:00
Add city retrieval from geonamed id on input creation
This commit is contained in:
@@ -29,7 +29,7 @@ require.config({
|
||||
deps: ['jquery', 'jqueryui'],
|
||||
exports: '$.fn.geocompleter'
|
||||
},
|
||||
geonames: {
|
||||
"common/geonames": {
|
||||
deps: ["jquery.geonames"]
|
||||
},
|
||||
multiselect: {
|
||||
|
@@ -90,7 +90,8 @@ require([
|
||||
|
||||
var geocompleter = geonames.init($("#geonameid"), {
|
||||
"server": $form.data("geonames-server-adress"),
|
||||
"limit": 40
|
||||
"limit": 40,
|
||||
"init-input": false
|
||||
});
|
||||
|
||||
// Positioning menu below input
|
||||
|
Reference in New Issue
Block a user