silverstripe/silverstripe-framework — pull request #2091 by robert-h-curry (2013-06-12 23:31:11+00:00)
Title: Always load preview when in preview mode, not in edit mode

It looks like the call to `_loadCurrentState()` was put in the content section instead of the preview section. This meant that if you had previously not viewed a preview and went straight from edit mode to preview mode the current state would not be set, causing the preview window to not load. Refreshing the browser or clicking on the state button would cause it load.