Resetting counter after a notice submit

This commit is contained in:
Sarven Capadisli 2009-10-30 15:51:52 +01:00
parent d16a989f49
commit 728ead7992
1 changed files with 2 additions and 2 deletions

View File

@ -201,7 +201,7 @@ var SN = { // StatusNet
}
else {
SN.C.I.NoticeDataText.val('');
// SN.U.NoticeTextCounter($('#'+SN.C.S.NoticeDataText), $('#'+SN.C.S.NoticeTextCount), SN.C.I.NoticeTextCharMax);
SN.U.Counter();
}
}
}
@ -242,7 +242,7 @@ var SN = { // StatusNet
$('#'+SN.C.S.NoticeDataText).val('');
$('#'+SN.C.S.NoticeDataAttach).val('');
$('#'+SN.C.S.NoticeInReplyTo).val('');
// SN.U.NoticeTextCounter($('#'+SN.C.S.NoticeDataText), $('#'+SN.C.S.NoticeTextCount), SN.C.I.NoticeTextCharMax);
SN.U.Counter();
}
},
complete: function(xhr, textStatus) {