diff --git a/etemplate/js/etemplate2.js b/etemplate/js/etemplate2.js index 12b476f309..a0581d2143 100644 --- a/etemplate/js/etemplate2.js +++ b/etemplate/js/etemplate2.js @@ -904,7 +904,7 @@ function etemplate2_handle_assign(type, res, req) } catch (e) { - egw.debug("error", "When assigning %s on %s via AJAX, \n"+e.message,res.data.key,res.data.id,widget); + egw.debug("error", "When assigning %s on %s via AJAX, \n"+(e.message||e+""),res.data.key,res.data.id,widget); } } return false;