If ElementData is set on the notice form, use the existing MaxLength
This commit is contained in:
parent
61023d42d3
commit
c0aad854f7
@ -77,6 +77,9 @@ var SN = { // StatusNet
|
||||
SN.U.SubmitOnReturn(e, form);
|
||||
});
|
||||
}
|
||||
else {
|
||||
$('#'+form_id+' #'+SN.C.S.NoticeTextCount).text(jQuery.data(form[0], 'ElementData').MaxLength);
|
||||
}
|
||||
|
||||
if ($('body')[0].id != 'conversation') {
|
||||
$('#'+form_id+' textarea').focus();
|
||||
|
Loading…
x
Reference in New Issue
Block a user