mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-27 16:29:22 +01:00
Don't try to split numbers
This commit is contained in:
parent
3a865977ff
commit
f17860431a
@ -521,7 +521,7 @@ function et2_insertLinkText(_text, _node, _target)
|
||||
if (typeof s == "string" || typeof s == "number")
|
||||
{
|
||||
// Include line breaks
|
||||
var lines = s.split('\n');
|
||||
var lines = s.split ? s.split('\n') : [s];
|
||||
|
||||
// Insert the lines
|
||||
for (var j = 0; j < lines.length; j++)
|
||||
|
Loading…
Reference in New Issue
Block a user