Skip to content

Commit

Permalink
Merge pull request #24 from mugoweb/edit_locations_first_draft
Browse files Browse the repository at this point in the history
Fix EZP-26501: In-edit Locations window (legacy) should not force "Visible" flag
  • Loading branch information
pkamps authored Nov 12, 2016
2 parents 092a579 + f1b7f05 commit 1e3f39a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions design/admin/templates/content/edit_locations.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,8 @@
{* Visibility status after publishing. *}
<td>
<select {if $location_ui_enabled|not}disabled="disabled" {/if}name="FutureNodeHiddenState_{$Node:parent_node.node_id}">
<option value="unchanged">{'Unchanged'|i18n( 'design/admin/content/edit' )}</option>
<option value="visible"{if $Node:item.is_hidden|not} selected="selected"{/if}>{'Visible'|i18n( 'design/admin/content/edit' )}</option>
<option value="hidden"{if $Node:item.is_hidden} selected="selected"{/if}>{'Hidden'|i18n( 'design/admin/content/edit' )}</option>
<option value="unchanged"{if or( is_set( $Node:item.node ), and( $Node:item.is_hidden|not(), $Node:item.parent_node_obj.is_invisible|not() ) )} selected="selected"{/if}>{'Unchanged'|i18n( 'design/admin/content/edit' )}</option>
{if is_unset( $Node:item.node )}<option value="hidden"{if or( $Node:item.is_hidden, and( is_set( $Node:item.node ), $Node:item.node.is_hidden ) )} selected="selected"{/if}>{'Hidden'|i18n( 'design/admin/content/edit' )}</option>{/if}
</select>
</td>

Expand Down

0 comments on commit 1e3f39a

Please sign in to comment.