Closed (fixed)
Project:
Image Matrix
Version:
7.x-1.x-dev
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Anonymous (not verified)
Created:
21 Jul 2012 at 05:53 UTC
Updated:
16 May 2024 at 00:52 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
Anonymous (not verified) commentedAccording to the documentation for drupal_process_states(), "all conditions must be met for the state to be applied."
Since the
':input[name="options[settings][image_link]"]' => array('value' => '')condition didn't seem to be doing anything, I removed it and now the 'custom link class' field is correctly hidden when 'Link image to' is set to 'None'. Same for 'custom link rel attribute'.Attached patch working for me.
Comment #2
maciej.zgadzaj commentedNo good - your patch fixes it for content type field configuration, but it still doesn't work on view field configuration (that's what the other condition is for). Fixed in the most recent dev release, just pushed to d.o.