From 4aa6deb8abb725be7fa6dc30bdfd2e7de1ff24d1 Mon Sep 17 00:00:00 2001 From: Sarven Capadisli Date: Mon, 2 Nov 2009 17:19:08 +0000 Subject: [PATCH] Make sure to call FormNoticeEnhancements with a new copy of the form object --- js/util.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/util.js b/js/util.js index 051efb6b91..cc7a587da8 100644 --- a/js/util.js +++ b/js/util.js @@ -234,7 +234,7 @@ var SN = { // StatusNet $('#'+form_id+' #'+SN.C.S.NoticeDataAttach).val(''); $('#'+form_id+' #'+SN.C.S.NoticeInReplyTo).val(''); $('#'+form_id+' #'+SN.C.S.NoticeDataAttachSelected).remove(); - SN.U.FormNoticeEnhancements(form); + SN.U.FormNoticeEnhancements($('#'+form_id)); } }, complete: function(xhr, textStatus) { -- 2.39.5