Insert target of child node in react event

This commit is contained in:
Dmitry Shulyak 2015-10-22 13:21:11 +03:00
parent 7488915159
commit a093b657b5

View File

@ -99,7 +99,7 @@ class React(Event):
# TODO: solve this circular import problem
from solar.core import resource
try:
loaded_resource = resource.load(self.parent)
loaded_resource = resource.load(self.child)
except KeyError:
# orm throws this error when we're NOT using resource there
location_id = None