mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-29 11:23:54 +01:00
Avoid error if server sends numeric ID by checking type
This commit is contained in:
parent
96e44c018f
commit
09272770a9
@ -898,7 +898,7 @@ var et2_link_entry = et2_inputWidget.extend(
|
||||
* User selected a value
|
||||
*/
|
||||
select: function(event, selected) {
|
||||
if(selected.item.value !== null)
|
||||
if(selected.item.value !== null && typeof selected.item.value == "string")
|
||||
{
|
||||
// Correct changed value from server
|
||||
selected.item.value = selected.item.value.trim();
|
||||
|
Loading…
Reference in New Issue
Block a user