ezsystems/ezpublish — pull request #412 by iosolinf (2012-08-27 02:08:55+00:00)
Title: Fixed #19039: Incorrect redirect after publishing home page from preview

If it were up to me to decide, users would not be redirected to the parent node after publishing...
With this change, whenever the parent node of a node being previewed (through versionviewframe) is 1, publish will redirect to the current node (normally 2, but for safe keeping I am pulling the node id from the object itself)