mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-25 12:18:47 +08:00
Bug 70465: remove line breaks from filter tip
This commit is contained in:
@ -2328,7 +2328,11 @@ define([
|
||||
}
|
||||
if (str.length>100)
|
||||
str = str.substring(0, 100) + '...';
|
||||
str = "<b>" + (Common.Utils.String.htmlEncode(props.asc_getColumnName()) || '(' + this.txtColumn + ' ' + Common.Utils.String.htmlEncode(props.asc_getSheetColumnName()) + ')') + ":</b><br>" + str;
|
||||
var colName = props.asc_getColumnName();
|
||||
colName && (colName = colName.replace(/\n/g, ' '));
|
||||
if (colName.length>100)
|
||||
colName = colName.substring(0, 100) + '...';
|
||||
str = "<b>" + (Common.Utils.String.htmlEncode(colName) || '(' + this.txtColumn + ' ' + Common.Utils.String.htmlEncode(props.asc_getSheetColumnName()) + ')') + ":</b><br>" + str;
|
||||
return str;
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user