summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@status.net>2010-01-16 20:10:46 +0000
committerSarven Capadisli <csarven@status.net>2010-01-24 00:18:52 +0100
commitf043bc62a53250eaf383e9f36f95031fcd4e1160 (patch)
tree7016937a77bd7cedbb2922ce8e04f879f132b9a5
parent68c864c95a10b9018862c8ff3677c1185f1df496 (diff)
Added missing position paramater
-rw-r--r--js/util.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/js/util.js b/js/util.js
index 2d19b8df2..094731955 100644
--- a/js/util.js
+++ b/js/util.js
@@ -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();