Add city retrieval from geonamed id on input creation

This commit is contained in:
Nicolas Le Goff
2013-07-04 12:34:52 +02:00
parent 5e151e632a
commit 3034ce1d78
12 changed files with 31 additions and 29 deletions

View File

@@ -29,7 +29,7 @@ require.config({
deps: ['jquery', 'jqueryui'],
exports: '$.fn.geocompleter'
},
geonames: {
"common/geonames": {
deps: ["jquery.geonames"]
},
multiselect: {

View File

@@ -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