Hi,

First of all i would like to thank you for this module.

I am using hs in Drupal form and the problem occurs on IE (FF is fine).
The hs form dropbox which has second level is not displayed in IE (see picture attached).
the hs form dropbox which has only one level terms (i.e. flat hierarchy) is working fine.

I have attached the relevant code from the form.

Please advice.

    $form['nickname'] = array (
        '#type' => 'textfield',
        '#title' => t('Name'),
        '#description' => t('English only'),
        '#prefix' => '<table style="margin-top: 0px; margin-bottom: 0px;"><tr><td width=17%>',
        '#suffix' => '</td>',
        '#size' => 15,
    );
    $form['experience'] = array(
        '#type' => 'hierarchical_select',
        '#title' => t('Experience'),
        '#description' => t('In years'),
        '#prefix' => '<td width=17%>',
        '#suffix' => '</td>',       
        '#size' => $size,
        '#config' => array(
            'save_lineage' => 1,
            'enforce_deepest' => 1,
            'resizable' => 0,
            'module' => 'hs_taxonomy',
            'params' => array(
                'vid' => 2,
            ),
        ),
    );
    $form['category'] = array(
        '#type' => 'hierarchical_select',
        '#title' => t('Category'),
        '#description' => t('Speciality'),
        '#prefix' => '<td>',
        '#suffix' => '</td></tr></table>',
        '#size' => $size,
        '#config' => array(
          'save_lineage' => TRUE,
          'enforce_deepest' => TRUE,
            'resizable' => 0,
            'module' => 'hs_taxonomy',
            'save_lineage' => 1,
            'params' => array(
                'vid' => 1,
            ),
        ),
    );
CommentFileSizeAuthor
hs_prob.jpg5.5 KBchenop

Comments

chenop’s picture

The case is still open, can anyone please give me a lead.

Thanks!

chenop’s picture

Still need help - Please reply.

chenop’s picture

Addition:

If i tried to choose an item with second level items the Combobox freezes and i get an error on:
modules\hierarchical_select\hierarchical_select.js, line 543 -->

if ($('.hierarchical-select-wrapper > *', $(response.output)).length == 0) {

Any help on this error will be appreciated.

chenop’s picture

Component: Code - Taxonomy » Code
wim leers’s picture

Assigned: Unassigned » wim leers
Category: bug » support
Status: Active » Postponed (maintainer needs more info)

Can you reproduce this in a vanilla Drupal installation?

chenop’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)

It appears the error repeats on IE6 and down.
In IE7, IE8, chrome, and Firefox its works fine.
Closing.