Issue #2350723 by rjacobs: State toggles for Enable alt/title and Require alt/title not functioning
parent
8a8c28c47e
commit
b71d7e6a52
|
@ -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),
|
||||
),
|
||||
),
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue