forked from GNUsocial/gnu-social
Added missing position paramater
This commit is contained in:
parent
8896df22af
commit
d22cdad5fe
@ -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