From 68d5456428c93c10c8324850c523bed91b59760a Mon Sep 17 00:00:00 2001 From: ctrlaltca <> Date: Tue, 12 Jun 2012 14:39:26 +0000 Subject: TBaseActiveControl: permit the use of prefixes (Page, Parent, ..) when setting the CallbackOptions property (refs #374) --- framework/Web/UI/ActiveControls/TBaseActiveControl.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'framework') diff --git a/framework/Web/UI/ActiveControls/TBaseActiveControl.php b/framework/Web/UI/ActiveControls/TBaseActiveControl.php index 1b047a1b..91590942 100644 --- a/framework/Web/UI/ActiveControls/TBaseActiveControl.php +++ b/framework/Web/UI/ActiveControls/TBaseActiveControl.php @@ -235,7 +235,7 @@ class TBaseActiveCallbackControl extends TBaseActiveControl $control=$this->getControl()->getSubProperty(substr($id,0,$pos)); $newid=substr($id,$pos+1); if ($control!==null) - $control=$control->findControl($newid); + $control=$control->$newid; } else { -- cgit v1.2.3