diff options
author | Fabio Bas <ctrlaltca@gmail.com> | 2016-03-06 19:39:56 +0100 |
---|---|---|
committer | Fabio Bas <ctrlaltca@gmail.com> | 2016-03-06 19:39:56 +0100 |
commit | cc53959ac5ba3e786f3d6ad3403919b82c52fa42 (patch) | |
tree | 77e0b29f387cde1b380813f93a73a2c4aa16390e /framework/Web/UI/ActiveControls/TActiveListBox.php | |
parent | c7ab73d6448aad8aa630878fc83298b762505194 (diff) |
Activecontrols: avoid updating client side if the value didn't change
Fix #399
Diffstat (limited to 'framework/Web/UI/ActiveControls/TActiveListBox.php')
-rw-r--r-- | framework/Web/UI/ActiveControls/TActiveListBox.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/framework/Web/UI/ActiveControls/TActiveListBox.php b/framework/Web/UI/ActiveControls/TActiveListBox.php index e32a8eba..35a173e2 100644 --- a/framework/Web/UI/ActiveControls/TActiveListBox.php +++ b/framework/Web/UI/ActiveControls/TActiveListBox.php @@ -85,6 +85,9 @@ class TActiveListBox extends TListBox implements IActiveControl, ICallbackEventH */ public function setSelectionMode($value) { + if(parent::getSelectionMode() === $value) + return; + parent::setSelectionMode($value); $multiple = $this->getIsMultiSelect(); $id = $this->getUniqueID(); $multi_id = $id.'[]'; |