Commit e5661f17 authored by frjo's avatar frjo
Browse files

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

Issue #1560086 by Alan D.: Patch by aaronbauman to add token dialog support. This was added in 7.x-1.3.
parent 9cf4f049
......@@ -385,6 +385,7 @@ function colorbox_field_formatter_settings_form($field, $instance, $view_mode, $
'#theme' => 'token_tree',
'#token_types' => array($instance['entity_type'], 'file'),
'#recursion_limit' => $recursion_limit,
'#dialog' => TRUE,
'#states' => array(
'visible' => array(
':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