summaryrefslogtreecommitdiff
path: root/js/util.js
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@status.net>2010-01-16 20:10:46 +0000
committerSarven Capadisli <csarven@status.net>2010-01-26 00:24:57 +0100
commitf9cc3e6d942f4a1e3b9e000daa5ecca4df5e4ce5 (patch)
tree061b266097c61c9d47d1cdbd457a83dc7b6e29c0 /js/util.js
parentcae2429d12321319d4a9ef1a22d73aaf76449a36 (diff)
Added missing position paramater
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();