forked from Techsystech/web
[FIX] accessing undefined variable
parent
bcf0534907
commit
f7824ab974
|
@ -52,7 +52,7 @@ openerp.web_ckeditor4 = function(openerp)
|
||||||
{
|
{
|
||||||
_.each(e.data.definition.contents, function(element)
|
_.each(e.data.definition.contents, function(element)
|
||||||
{
|
{
|
||||||
if(element.filebrowser!='uploadButton')
|
if(!element || element.filebrowser!='uploadButton')
|
||||||
{
|
{
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue