Correct issue #882 (viewSource parent toggling problem)
Merge pull request #904 from matheod/viewSourceFixed

Correct issue #882 (viewSource parent toggling problem)