From 8c78c2f6dda9c9075509e99687e1e6f41ca9ac0f Mon Sep 17 00:00:00 2001 From: Fabio Bas Date: Sat, 8 Feb 2014 12:29:52 +0100 Subject: TJuiSelectable events --- .../protected/pages/JuiControls/Samples/TJuiSelectable/Home.page | 5 ++++- .../protected/pages/JuiControls/Samples/TJuiSelectable/Home.php | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) (limited to 'demos/quickstart/protected/pages/JuiControls/Samples') diff --git a/demos/quickstart/protected/pages/JuiControls/Samples/TJuiSelectable/Home.page b/demos/quickstart/protected/pages/JuiControls/Samples/TJuiSelectable/Home.page index 4af5d637..cd778625 100644 --- a/demos/quickstart/protected/pages/JuiControls/Samples/TJuiSelectable/Home.page +++ b/demos/quickstart/protected/pages/JuiControls/Samples/TJuiSelectable/Home.page @@ -29,7 +29,10 @@ Default options with a little css applied: - + diff --git a/demos/quickstart/protected/pages/JuiControls/Samples/TJuiSelectable/Home.php b/demos/quickstart/protected/pages/JuiControls/Samples/TJuiSelectable/Home.php index cf8d40f1..ada38408 100644 --- a/demos/quickstart/protected/pages/JuiControls/Samples/TJuiSelectable/Home.php +++ b/demos/quickstart/protected/pages/JuiControls/Samples/TJuiSelectable/Home.php @@ -21,10 +21,10 @@ class Home extends TPage } } - public function repeater1_onSelectedIndexChanged($sender, $param) + public function repeater1_onStop($sender, $param) { $this->label1->Text="Selected items:"; - $items = $param->getSelectedIndexes(); + $items = $param->getCallbackParameter()->index; foreach($items as $index) $this->label1->Text.=' '.$this->data[$index]; -- cgit v1.2.3