Issue #2350723 by rjacobs: State toggles for Enable alt/title and Require alt/title not functioning

8.0.x
Alex Pott 2014-11-25 13:20:43 +00:00
parent 8a8c28c47e
commit b71d7e6a52
1 changed files with 2 additions and 2 deletions

View File

@ -269,7 +269,7 @@ class ImageItem extends FileItem {
'#weight' => 10,
'#states' => array(
'visible' => array(
':input[name="instance[settings][alt_field]"]' => array('checked' => TRUE),
':input[name="field[settings][alt_field]"]' => array('checked' => TRUE),
),
),
);
@ -287,7 +287,7 @@ class ImageItem extends FileItem {
'#weight' => 12,
'#states' => array(
'visible' => array(
':input[name="instance[settings][title_field]"]' => array('checked' => TRUE),
':input[name="field[settings][title_field]"]' => array('checked' => TRUE),
),
),
);