If user checked shared location but didn't enter their location, don't

show the checkbox
This commit is contained in:
Sarven Capadisli 2010-01-05 00:15:26 +00:00
parent d59ffeaab5
commit 9fadfd850e

View File

@ -565,11 +565,13 @@ var SN = { // StatusNet
getJSONgeocodeURL(geocodeURL, data); getJSONgeocodeURL(geocodeURL, data);
} }
else {
removeNoticeDataGeo();
$('label[for='+SN.C.S.NoticeDataGeo+']').remove();
}
} }
} }
else { else {
$('label[for='+SN.C.S.NoticeDataGeo+']').removeClass('checked');
removeNoticeDataGeo(); removeNoticeDataGeo();
} }
}).change(); }).change();