From 4aa6deb8abb725be7fa6dc30bdfd2e7de1ff24d1 Mon Sep 17 00:00:00 2001 From: Sarven Capadisli Date: Mon, 2 Nov 2009 17:19:08 +0000 Subject: Make sure to call FormNoticeEnhancements with a new copy of the form object --- js/util.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js') diff --git a/js/util.js b/js/util.js index 051efb6b9..cc7a587da 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) { -- cgit v1.2.3-54-g00ecf