]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Unchecks location sharing for geo location if it timesout
authorSarven Capadisli <csarven@status.net>
Wed, 13 Jan 2010 15:51:32 +0000 (15:51 +0000)
committerSarven Capadisli <csarven@status.net>
Wed, 13 Jan 2010 15:51:32 +0000 (15:51 +0000)
js/util.js

index b56410e62fe2f771083da2f74e7e618e4e481200..2cff4afc20484f27cdaf8d8186de90ada070b0a8 100644 (file)
@@ -638,6 +638,7 @@ var SN = { // StatusNet
                                                 break;
                                             case error.TIMEOUT:
                                                 $('#'+SN.C.S.NoticeGeoName).text(NoticeDataGeo_text.ErrorTimeout).removeClass('processing');
+                                                $('#'+SN.C.S.NoticeDataGeo).attr('checked', false);
                                                 break;
                                         }
                                     },