Added missing position paramater

This commit is contained in:
Sarven Capadisli 2010-01-16 20:10:46 +00:00
parent 68c864c95a
commit f043bc62a5
1 changed files with 3 additions and 3 deletions

View File

@ -498,7 +498,7 @@ var SN = { // StatusNet
$.cookie(SN.C.S.NoticeDataGeoCookie, 'disabled');
}
function getJSONgeocodeURL(geocodeURL, data) {
function getJSONgeocodeURL(geocodeURL, data, position) {
$.getJSON(geocodeURL, data, function(location) {
var lns, lid;
@ -575,7 +575,7 @@ var SN = { // StatusNet
token: $('#token').val()
};
getJSONgeocodeURL(geocodeURL, data);
getJSONgeocodeURL(geocodeURL, data, position);
},
function(error) {
@ -602,7 +602,7 @@ var SN = { // StatusNet
'token': $('#token').val()
};
getJSONgeocodeURL(geocodeURL, data);
getJSONgeocodeURL(geocodeURL, data, position);
}
else {
removeNoticeDataGeo();