forked from GNUsocial/gnu-social
Unchecks location sharing for geo location if it timesout
This commit is contained in:
parent
2000d2d36b
commit
8887d7a314
@ -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
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user