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

View File

@ -638,12 +638,13 @@ 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;
}
},
{
timeout: 10000
timeout: 10
}
);
}