Added missing position paramater
This commit is contained in:
parent
cae2429d12
commit
f9cc3e6d94
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user