Make sure to call FormNoticeEnhancements with a new copy of the form

object
This commit is contained in:
Sarven Capadisli 2009-11-02 17:19:08 +00:00
parent b579a306c7
commit 4aa6deb8ab

View 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) {