]> 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>
Mon, 25 Jan 2010 23:24:57 +0000 (00:24 +0100)
js/util.js

index ef28f31e82872d1e96d4fde1827466f63ce41345..373a4f3b01145fa1ba11031adc6f267dbb80fb01 100644 (file)
@@ -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();