Add titles in poll when options or usernames are overflowing
This commit is contained in:
@@ -219,6 +219,7 @@ var Renderer = function (Cryptpad, APP) {
|
|||||||
'data-rt-id': col,
|
'data-rt-id': col,
|
||||||
type: 'text',
|
type: 'text',
|
||||||
value: getColumnValue(obj, col) || "",
|
value: getColumnValue(obj, col) || "",
|
||||||
|
title: getColumnValue(obj, col) || Cryptpad.Messages.anonymous,
|
||||||
placeholder: Cryptpad.Messages.anonymous,
|
placeholder: Cryptpad.Messages.anonymous,
|
||||||
disabled: 'disabled'
|
disabled: 'disabled'
|
||||||
};
|
};
|
||||||
@@ -238,6 +239,7 @@ var Renderer = function (Cryptpad, APP) {
|
|||||||
return [{
|
return [{
|
||||||
'data-rt-id': row,
|
'data-rt-id': row,
|
||||||
value: getRowValue(obj, row) || '',
|
value: getRowValue(obj, row) || '',
|
||||||
|
title: getRowValue(obj, row) || Cryptpad.Messages.poll_optionPlaceholder,
|
||||||
type: 'text',
|
type: 'text',
|
||||||
placeholder: Cryptpad.Messages.poll_optionPlaceholder,
|
placeholder: Cryptpad.Messages.poll_optionPlaceholder,
|
||||||
disabled: 'disabled',
|
disabled: 'disabled',
|
||||||
|
|||||||
Reference in New Issue
Block a user