mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
Add titles in poll when options or usernames are overflowing
This commit is contained in:
parent
74985fd0f2
commit
a0bcb901d3
@ -219,6 +219,7 @@ var Renderer = function (Cryptpad, APP) {
|
||||
'data-rt-id': col,
|
||||
type: 'text',
|
||||
value: getColumnValue(obj, col) || "",
|
||||
title: getColumnValue(obj, col) || Cryptpad.Messages.anonymous,
|
||||
placeholder: Cryptpad.Messages.anonymous,
|
||||
disabled: 'disabled'
|
||||
};
|
||||
@ -238,6 +239,7 @@ var Renderer = function (Cryptpad, APP) {
|
||||
return [{
|
||||
'data-rt-id': row,
|
||||
value: getRowValue(obj, row) || '',
|
||||
title: getRowValue(obj, row) || Cryptpad.Messages.poll_optionPlaceholder,
|
||||
type: 'text',
|
||||
placeholder: Cryptpad.Messages.poll_optionPlaceholder,
|
||||
disabled: 'disabled',
|
||||
|
||||
Loading…
Reference in New Issue
Block a user