]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Added missing position paramater
authorSarven Capadisli <csarven@status.net>
Sat, 16 Jan 2010 20:10:46 +0000 (20:10 +0000)
committerSarven Capadisli <csarven@status.net>
Sat, 23 Jan 2010 23:18:52 +0000 (00:18 +0100)
js/util.js

index 2d19b8df25d4b4dd129735e60d01115e4e772d5b..09473195548144e0e2ac3346de17acafb953d46b 100644 (file)
@@ -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();