Fix "View Diff" buttons on edit attachment page