Mailing List Archive

[bricoleurs/bricolage] 0d6c56: Fix Back button when viewing an asset.
Branch: refs/heads/master

Commit: 0d6c5651b42d680c64323e0f52686e1f4a74f5e0
Author: David E. Wheeler <>
Date: 2011-12-01 (Thu, 01 Dec 2011)

Changed paths:
M comp/widgets/media_prof/view_meta.html
M comp/widgets/story_prof/view_meta.html
M comp/widgets/tmpl_prof/view_meta.html
M lib/Bric/App/Callback/Profile/
M lib/Bric/App/Callback/Profile/
M lib/Bric/App/Callback/Profile/

Log Message:
Fix Back button when viewing an asset.

Has been broken by the HTML 5 standard, which has image inputs no longer submit their values, but their .x and .y positions. This is annoying, and more like how IE has always behaved. In [this commit]( (and others like it for media nd templates), Scott fixed a bug related to get the Return button to work on the diff view. Removing that change fixes the view Return button, but breaks the Diff return button. So switch to using a very simple image link for the Diff page return button instead of the image input. That works on any browser, and so now the Return button should work properly both when viewing assets and when viewing diffs.

[#240 state:closed]