Skip to content

Commit

Permalink
administration/@layout.latte: Disable history on FilesPresenter with …
Browse files Browse the repository at this point in the history
…browser mode.
  • Loading branch information
pepakriz committed Jan 12, 2014
1 parent d06448f commit e284e47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Resources/administration/@layout.latte
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@

{css @dynatreeModule/skin-bootstrap/ui.dynatree.css}

{if !$presenter instanceof CmsModule\Administration\Presenters\PanelPresenter}
{if !$presenter instanceof CmsModule\Administration\Presenters\PanelPresenter && (!$presenter instanceof CmsModule\Administration\Presenters\FilesPresenter || ($presenter instanceof CmsModule\Administration\Presenters\FilesPresenter && !$presenter->browserMode))}
{js @ajaxModule/history/history.ajax.js}
{/if}

Expand Down

0 comments on commit e284e47

Please sign in to comment.