noreply at github
Dec 1, 2011, 9:03 PM
Post #1 of 1
[bricoleurs/bricolage] 0d6c56: Fix Back button when viewing an asset.
Author: David E. Wheeler <david [at] justatheory>
Date: 2011-12-01 (Thu, 01 Dec 2011)
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](https://github.com/bricoleurs/bricolage/commit/534e739a34e6d71835033bcf560cb54745dd9222) (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.