Unchecks location sharing for geo location if it timesout

This commit is contained in:
Sarven Capadisli 2010-01-13 15:48:26 +00:00
parent 2000d2d36b
commit 8887d7a314
1 changed files with 2 additions and 1 deletions

View File

@ -638,12 +638,13 @@ var SN = { // StatusNet
break; break;
case error.TIMEOUT: case error.TIMEOUT:
$('#'+SN.C.S.NoticeGeoName).text(NoticeDataGeo_text.ErrorTimeout).removeClass('processing'); $('#'+SN.C.S.NoticeGeoName).text(NoticeDataGeo_text.ErrorTimeout).removeClass('processing');
$('#'+SN.C.S.NoticeDataGeo).attr('checked', false);
break; break;
} }
}, },
{ {
timeout: 10000 timeout: 10
} }
); );
} }