diff options
author | Sarven Capadisli <csarven@status.net> | 2010-01-16 20:10:46 +0000 |
---|---|---|
committer | Sarven Capadisli <csarven@status.net> | 2010-01-16 20:10:46 +0000 |
commit | d22cdad5feff8921a6482649933c0e8f64d39502 (patch) | |
tree | 82aa99a919e30dc7d029dac84145bb2039c21da2 /js/util.js | |
parent | 8896df22af2f5c22329a81305fd1011d3dfa347e (diff) |
Added missing position paramater
Diffstat (limited to 'js/util.js')
-rw-r--r-- | js/util.js | 6 |
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(); |