26
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-26 17:38:45 +01:00

Usable size for Shared rosters members textarea (EJAB-1753)

This commit is contained in:
Badlop 2017-01-13 12:16:23 +01:00
parent 32d548d99b
commit e2665c5da9

View File

@ -915,7 +915,7 @@ shared_roster_group(Host, Group, Query, Lang) ->
?XE(<<"td">>, ?XE(<<"td">>,
[?TEXTAREA(<<"members">>, [?TEXTAREA(<<"members">>,
integer_to_binary(lists:max([3, integer_to_binary(lists:max([3,
byte_size(FMembers)])), length(Members)+3])),
<<"20">>, FMembers)])]), <<"20">>, FMembers)])]),
?XE(<<"tr">>, ?XE(<<"tr">>,
[?XCT(<<"td">>, <<"Displayed Groups:">>), [?XCT(<<"td">>, <<"Displayed Groups:">>),