forked from GNUsocial/gnu-social
Added missing position paramater
This commit is contained in:
parent
68c864c95a
commit
f043bc62a5
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user