Make sure to call FormNoticeEnhancements with a new copy of the form
object
This commit is contained in:
parent
b579a306c7
commit
4aa6deb8ab
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user