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
1 changed files with 4 additions and 2 deletions

View File

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