]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Make sure to call FormNoticeEnhancements with a new copy of the form
authorSarven Capadisli <csarven@status.net>
Mon, 2 Nov 2009 17:19:08 +0000 (17:19 +0000)
committerSarven Capadisli <csarven@status.net>
Mon, 2 Nov 2009 17:19:08 +0000 (17:19 +0000)
object

js/util.js

index 051efb6b9145683839b10dd3b2dcb3f582a30ecf..cc7a587da82c026e7bba87f540a6c21c6a46c928 100644 (file)
@@ -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) {