ezsystems/ezpublish — pull request #416 by dpobel (2012-08-29 09:19:17+00:00)
Title: Fixed #19394: Choose the right siteaccess when previewing multilingual content

Bug: http://issues.ez.no/19394

Description
===========
When previewing a content from the edit form (with the Preview button on the left bar), the content is always showed in the default siteaccess which might not be correctly configured for the translation that is currently edited.

This patch makes the preview a bit smarter by trying to find an appropriate siteaccess. It is still possible to manually change the siteaccess.

Tests
=====
Manual tests