From db1a7d6f8883b5a37803b656c10305f082fdf270 Mon Sep 17 00:00:00 2001 From: Sarven Capadisli Date: Tue, 5 Jan 2010 00:37:53 +0000 Subject: [PATCH] Remove input geo data as well --- js/util.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/util.js b/js/util.js index feea13b52c..a2212cac2d 100644 --- a/js/util.js +++ b/js/util.js @@ -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(); } } -- 2.39.5