Fix inner null objects in the extdirect protocol
This commit is contained in:
parent
d05fb583eb
commit
82d97971fc
@ -81,6 +81,8 @@ Ext.ns("%(fullns)s");
|
||||
|
||||
@generic
|
||||
def fromjson(datatype, value):
|
||||
if value is None:
|
||||
return None
|
||||
if iscomplex(datatype):
|
||||
newvalue = datatype()
|
||||
for attrdef in list_attributes(datatype):
|
||||
|
Loading…
x
Reference in New Issue
Block a user