Follow-up to r6249: when previewing a ticket, we need to reset the URL to /ticket/xxx, discarding the eventual anchor that might already be present in the URL. Otherwise, we'll be targeted to that anchor and we'll probably miss the top of the page containing the preview and the eventual warnings.
Follow-up to r6249: when previewing a ticket, we need to reset the URL to /ticket/xxx, discarding the eventual anchor that might already be present in the URL. Otherwise, we'll be targeted to that anchor and we'll probably miss the top of the page containing the preview and the eventual warnings.

git-svn-id: 0d96b0c1a6983ccc08b3732614f4d6bfcf9cbb42@6276 af82e41b-90c4-0310-8c96-b1721e28e2e2

rbaumg/trac,rbaumg/trac,rbaumg/trac,rbaumg/trac