bugfix
This commit is contained in:
parent
2dc50fc08c
commit
8df5f0cff9
@ -482,10 +482,6 @@ class Blocks(EventDispatcher):
|
|||||||
def registedfunctionAction(self, widget, desc, *args):
|
def registedfunctionAction(self, widget, desc, *args):
|
||||||
target = Blocks.getWidgetById(desc.get('target','self'),
|
target = Blocks.getWidgetById(desc.get('target','self'),
|
||||||
from_widget=widget)
|
from_widget=widget)
|
||||||
if target is None:
|
|
||||||
Logger.info('Block: registedfunctionAction():desc(%s) target not found',
|
|
||||||
str(desc))
|
|
||||||
return
|
|
||||||
rf = RegisterFunction()
|
rf = RegisterFunction()
|
||||||
name = desc.get('rfname')
|
name = desc.get('rfname')
|
||||||
func = rf.get(name)
|
func = rf.get(name)
|
||||||
@ -508,9 +504,6 @@ class Blocks(EventDispatcher):
|
|||||||
return
|
return
|
||||||
target = Blocks.getWidgetById(desc.get('target','self'),
|
target = Blocks.getWidgetById(desc.get('target','self'),
|
||||||
from_widget=widget)
|
from_widget=widget)
|
||||||
if target is None:
|
|
||||||
Logger.info('Block: scriptAction():desc(%s) target not found',
|
|
||||||
str(desc))
|
|
||||||
d = self.getActionData(widget,desc)
|
d = self.getActionData(widget,desc)
|
||||||
ns = {
|
ns = {
|
||||||
"self":target,
|
"self":target,
|
||||||
|
Loading…
Reference in New Issue
Block a user