User: wimleers Branch: HEAD Date: Tue, 15 Apr 2008 21:47:03 +0000 Modified files: /modules/hierarchical_select API.txt README.txt hierarchical_select-rtl.css hierarchical_select.css hierarchical_select.info hierarchical_select.js hierarchical_select.module /modules/hierarchical_select/modules taxonomy.inc Log message: First major feature of HS3. Scalability improvements: stop using a normal select for graceful degradation. More than half the codebase of HS has changed. This required *a lot* of Forms API tricks: I'm using #process to expand the elements, but unsetting #post to prevent it to override my new #default_values. #after_build to simulate my own form cache (like Drupal 6's Forms API has) and to add a form #submit callback to remove items from this form cache. Setting a value in my #process callback that I use in my element #validate callback to set the proper return value, instead of the values used for internal purposes. And so on. Links: http://cvs.drupal.org/diff.php?path=contributions/modules/hierarchical_selec... http://cvs.drupal.org/diff.php?path=contributions/modules/hierarchical_selec... http://cvs.drupal.org/diff.php?path=contributions/modules/hierarchical_selec... http://cvs.drupal.org/diff.php?path=contributions/modules/hierarchical_selec... http://cvs.drupal.org/diff.php?path=contributions/modules/hierarchical_selec... http://cvs.drupal.org/diff.php?path=contributions/modules/hierarchical_selec... http://cvs.drupal.org/diff.php?path=contributions/modules/hierarchical_selec... http://cvs.drupal.org/diff.php?path=contributions/modules/hierarchical_selec...
participants (1)
-
drupal-cvs@drupal.org