Selects still enabled when dropbox limit reached
Nosfe - September 25, 2009 - 11:20
| Project: | Hierarchical Select |
| Version: | 6.x-3.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | minor |
| Assigned: | Wim Leers |
| Status: | closed |
Jump to:
Description
My installation is a Drupal 6.14 up to date, and Hierarchical Select module snapshot is 6.x-3.x-dev (2009-Sep-25) .
Field HS Configuration:
Cache in a HTML 5 client-side database: is enabled.
$config = array(
'config_id' => 'taxonomy-4',
'save_lineage' => 0,
'enforce_deepest' => 1,
'entity_count' => 0,
'require_entity' => ,
'resizable' => 0,
'level_labels' => array(
'status' => 0,
'labels' => array(
0 => '',
),
),
'dropbox' => array(
'status' => 1,
'title' => 'All selections',
'limit' => 3,
'reset_hs' => 1,
),
'editability' => array(
'status' => 0,
'item_types' => array(
0 => '',
),
'allowed_levels' => array(
0 => 1,
),
'allow_new_levels' => 0,
'max_levels' => 0,
),
);When you reach maximal number of items, it notifies and siplays message correctly, but select box stills enabled so you can continue adding items...
I've attached a screenshot.
| Attachment | Size |
|---|---|
| hs-limit.png | 13.76 KB |

#1
Does this also happen when the HTML 5 client-side database cache is disabled?
#2
Yes! I tried it also, sorry for not commenting before!!
#3
#4
Reproduced.
#5
Also, the add button should remain disabled. Fixed that too.
- D6: http://drupal.org/cvs?commit=281976
- D5: http://drupal.org/cvs?commit=281978
#6
Automatically closed -- issue fixed for 2 weeks with no activity.