3
0
Fork 0

[FIX] accessing undefined variable

7.0
Holger Brunn 2014-01-31 17:56:13 +01:00
parent bcf0534907
commit f7824ab974
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ openerp.web_ckeditor4 = function(openerp)
{
_.each(e.data.definition.contents, function(element)
{
if(element.filebrowser!='uploadButton')
if(!element || element.filebrowser!='uploadButton')
{
return
}