summaryrefslogtreecommitdiff
path: root/js/util.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/util.js')
-rw-r--r--js/util.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/js/util.js b/js/util.js
index ef28f31e8..373a4f3b0 100644
--- a/js/util.js
+++ b/js/util.js
@@ -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();