Commit 30a89a39 authored by frjo's avatar frjo
Browse files

Issue #1560086 by Alan D.: Patch by aaronbauman to add token dialog support.

parent 06a7c1f4
...@@ -504,6 +504,7 @@ function colorbox_field_formatter_settings_form($field, $instance, $view_mode, $ ...@@ -504,6 +504,7 @@ function colorbox_field_formatter_settings_form($field, $instance, $view_mode, $
'#theme' => 'token_tree', '#theme' => 'token_tree',
'#token_types' => array($instance['entity_type'], 'file'), '#token_types' => array($instance['entity_type'], 'file'),
'#recursion_limit' => $recursion_limit, '#recursion_limit' => $recursion_limit,
'#dialog' => TRUE,
'#states' => array( '#states' => array(
'visible' => array( 'visible' => array(
':input[name$="[settings_edit_form][settings][colorbox_caption]"]' => array('value' => 'custom'), ':input[name$="[settings_edit_form][settings][colorbox_caption]"]' => array('value' => 'custom'),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment