Use FormNoticeEnhancements instead of Counter

This commit is contained in:
Sarven Capadisli 2009-10-31 20:14:57 +01:00
parent 8a333805df
commit cd4c1267ff

View File

@ -213,7 +213,7 @@ var SN = { // StatusNet
}
else {
$('#'+form_id+' #'+SN.C.S.NoticeDataText).val('');
SN.U.Counter($('#'+SN.C.S.FormNotice));
SN.U.NoticeFormEnhancements($('#'+SN.C.S.FormNotice));
}
}
}
@ -256,7 +256,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.Counter($('#'+SN.C.S.FormNotice));
SN.U.FormNoticeEnhancements(form);
}
},
complete: function(xhr, textStatus) {