HTML_Quickform_advmultiselect 1.5.0 : still call fortests but ready for final release; Need a VOTE
| From: | Laurent Laville | Date: | Thu, 05 Feb 2009 21:10:14 +0000 |
| Subject: | HTML_Quickform_advmultiselect 1.5.0 : still call fortests but ready for final release; Need a VOTE | ||
| References: | 1 2 3 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-51529@lists.php.net to get a copy of this message | ||
Christian Weiske a écrit :
Hello Laurent,Hello Christian, This behavior was effectivly changed for 2 reasons, but I can revert it back to previous behavior, if you think, and why not a large audience, it's a wrong way. Two reasons are : 1. Even if current version 1.4.1 when you move an item from unselected to selected list (and in the other way too), the final selection item was UNSELECTED I thought to apply the same UNSELECT to final item result 2. Due to usage of fancy attribute with possibility to add color/background-color, it was in some case (I know it's so few), difficult to see what's item selected Hope my explains were clear enough. Now if a large QFAMS users vote -1 to this new behavior, it's not a problem for me to revert it back. one line to change (line 455 of uncompressed javascript file) ReplaceScript example is http://laurent-laville.org/pear/HTML_QuickForm_advmultiselect/examples/qfams_custom_9.php As I've received no test results since my last post 5 days ago, I've no choice to think that all QFAMS users are happy with this solution / version.I tried the example in Opera, it works fine except the fact that, when you select an item on the right side and click "up" or "down", you cannot click it again since the item is not selected anymore.
l.selectedIndex = -1;By
l.selectedIndex = j;That's all