diff options
author | Sarven Capadisli <csarven@status.net> | 2010-01-05 00:15:26 +0000 |
---|---|---|
committer | Sarven Capadisli <csarven@status.net> | 2010-01-05 00:15:26 +0000 |
commit | 9fadfd850e3713e15ea9bf1a097aef4a42b2c1f7 (patch) | |
tree | 1729490923ff8ad5dec0ec754924878043e7f1c6 /js | |
parent | d59ffeaab53ebf80b031e2810feaad58aff3288f (diff) |
If user checked shared location but didn't enter their location, don't
show the checkbox
Diffstat (limited to 'js')
-rw-r--r-- | js/util.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/js/util.js b/js/util.js index 0334a41ab..feea13b52 100644 --- a/js/util.js +++ b/js/util.js @@ -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(); |