Added missing position paramater

This commit is contained in:
Sarven Capadisli 2010-01-16 20:10:46 +00:00
parent 8896df22af
commit d22cdad5fe

View File

@ -494,7 +494,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;
@ -571,7 +571,7 @@ var SN = { // StatusNet
token: $('#token').val()
};
getJSONgeocodeURL(geocodeURL, data);
getJSONgeocodeURL(geocodeURL, data, position);
},
function(error) {
@ -598,7 +598,7 @@ var SN = { // StatusNet
'token': $('#token').val()
};
getJSONgeocodeURL(geocodeURL, data);
getJSONgeocodeURL(geocodeURL, data, position);
}
else {
removeNoticeDataGeo();