Closed (won't fix)
Project:
Simple hierarchical select
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
6 Mar 2013 at 12:01 UTC
Updated:
9 Mar 2013 at 21:39 UTC
Actual version used is 7.x-1.4+8-dev.
I use shs on views exposed filters and I have 2 shs selects on the same page.
I would like to add a js which allows to customize select's appearance (a bit like jQuery UI selectmenu).
To get it called after shs's ajax request it requires multiple ajaxComplete() (Drupal.behaviors are not enough), which is very ugly. Then I would have to find a way to apply shs's behavior which removes the level-2 selects when another option is chosen in corresponding level-1 select.
I would like to find something less acrobatic, do you think ot could be possible ?
Comments
Comment #1
stborchertSimple hierarchical select offers support for Chosen (which is probably an alternative for you).
Its not really possible to inject the behavior and function calls of other modules of this type, since the integration needs to take place on a very deep level within the functions of SHS.
Comment #2
tostinni commentedThanks for the "Chosen" module suggestion, it works perfectly.