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.
| Comment | File | Size | Author |
|---|---|---|---|
| hs-limit.png | 13.76 KB | Nosfe |
Comments
Comment #1
wim leersDoes this also happen when the HTML 5 client-side database cache is disabled?
Comment #2
Nosfe commentedYes! I tried it also, sorry for not commenting before!!
Comment #3
Nosfe commentedComment #4
wim leersReproduced.
Comment #5
wim leersAlso, the add button should remain disabled. Fixed that too.
- D6: http://drupal.org/cvs?commit=281976
- D5: http://drupal.org/cvs?commit=281978