Closed (works as designed)
Project:
Hierarchical Select
Version:
6.x-3.1
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
2 Jul 2010 at 07:46 UTC
Updated:
28 Sep 2010 at 20:05 UTC
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,
),
),
);
| Comment | File | Size | Author |
|---|---|---|---|
| hs_prob.jpg | 5.5 KB | chenop |
Comments
Comment #1
chenop commentedThe case is still open, can anyone please give me a lead.
Thanks!
Comment #2
chenop commentedStill need help - Please reply.
Comment #3
chenop commentedAddition:
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 -->
Any help on this error will be appreciated.
Comment #4
chenop commentedComment #5
wim leersCan you reproduce this in a vanilla Drupal installation?
Comment #6
chenop commentedIt appears the error repeats on IE6 and down.
In IE7, IE8, chrome, and Firefox its works fine.
Closing.