diff options
author | wei <> | 2007-01-28 01:22:37 +0000 |
---|---|---|
committer | wei <> | 2007-01-28 01:22:37 +0000 |
commit | ace9c57b1c50709bbe8085e9cf99161a4c574be2 (patch) | |
tree | 63e9dfb9c4f270e478869f863d36a344f1de5acc /framework/Web/UI/ActiveControls/TActiveListBox.php | |
parent | 97b4d7ca7f7edcedc2d9c113a60d827a967f2c5e (diff) |
Fixed TActiveListBox bug. Add more meta for active record. Fix TCallback docs.
Diffstat (limited to 'framework/Web/UI/ActiveControls/TActiveListBox.php')
-rw-r--r-- | framework/Web/UI/ActiveControls/TActiveListBox.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/framework/Web/UI/ActiveControls/TActiveListBox.php b/framework/Web/UI/ActiveControls/TActiveListBox.php index 21816961..97b28ac7 100644 --- a/framework/Web/UI/ActiveControls/TActiveListBox.php +++ b/framework/Web/UI/ActiveControls/TActiveListBox.php @@ -127,6 +127,10 @@ class TActiveListBox extends TListBox implements IActiveControl, ICallbackEventH { parent::onPreRender($param); $this->getAdapter()->updateListItems(); + $multiple = $this->getIsMultiSelect(); + $id = $this->getUniqueID(); $multi_id = $id.'[]'; + if($multiple) + $this->getPage()->registerPostDataLoader($multi_id); } } |