]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Remove input geo data as well
authorSarven Capadisli <csarven@status.net>
Tue, 5 Jan 2010 00:37:53 +0000 (00:37 +0000)
committerSarven Capadisli <csarven@status.net>
Tue, 5 Jan 2010 00:37:53 +0000 (00:37 +0000)
js/util.js

index feea13b52c56b6b64f754623a1fcf3b091501924..a2212cac2dc4b65445a0b118accfd325c4962625 100644 (file)
@@ -484,6 +484,7 @@ var SN = { // StatusNet
                     });
                 });
             }
+
             var NDG = $('#'+SN.C.S.NoticeDataGeo);
             if (NDG.length > 0) {
                 var NLE = $('#notice_data-location_wrap');
@@ -567,6 +568,7 @@ var SN = { // StatusNet
                             }
                             else {
                                 removeNoticeDataGeo();
+                                $('#'+SN.C.S.NoticeDataGeo).remove();
                                 $('label[for='+SN.C.S.NoticeDataGeo+']').remove();
                             }
                         }