We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit d22cdad5 authored by Sarven Capadisli's avatar Sarven Capadisli

Added missing position paramater

parent 8896df22
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment