From: Sarven Capadisli Date: Mon, 2 Nov 2009 17:19:08 +0000 (+0000) Subject: Make sure to call FormNoticeEnhancements with a new copy of the form X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=4aa6deb8abb725be7fa6dc30bdfd2e7de1ff24d1;p=quix0rs-gnu-social.git Make sure to call FormNoticeEnhancements with a new copy of the form object --- 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) {