Comments

joseph.olstad created an issue. See original summary.

joseph.olstad’s picture

joseph.olstad’s picture

StatusFileSize
new1.9 KB

try this patch instead.

bzaher’s picture

Status: Needs review » Needs work

The second patch is nearly there, though I believe the states array must refer to the language_content_type field instead:

$states = array(
    'visible' => array(
      ':input[name="language_content_type"]' => array('value' => ENTITY_TRANSLATION_ENABLED),
    ),
  );
joseph.olstad’s picture

Status: Needs work » Needs review
StatusFileSize
new1.88 KB
new722 bytes

Ok, good catch, this should work provided that the ENTITY_TRANSLATION_ENABLED const value is set , which I'm guessing it would be.
see new patch and the interdiff from patch 3 to patch 5.

  • bzaher committed 37f988f on 7.x-1.x
    Issue #2922316 by joseph.olstad: move content_type settings setup from...
bzaher’s picture

Status: Needs review » Fixed

The patch looks good. Tested and committed.

bzaher’s picture

Version: » 7.x-1.x-dev
Status: Fixed » Closed (fixed)