Fix "View Diff" buttons on edit attachment page
* js/attachment.js:
(viewPrettyPatch): Change code syntax from Perl to JavaScript.
When I moved this method from
template/en/custom/attachment/edit.html.tmpl into
js/attachment.js during the Bugzilla 4.2.1 merge, I wrote some
of the code using Perl syntax.
* template/en/custom/attachment/edit.html.tmpl:
- Fix 120-column truncation of code. (That's what you get for
copying and pasting code from 'git diff' in a terminal
window.)
- Pass attachment_id into the viewPrettyPatch() method since
the method expects it.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@174774
268f45cc-cd09-0410-ab3c-
d52691b4dbfc