Bug 300494 - capture User Agent as well.
git-svn-id: svn://10.0.0.236/trunk@176086 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
171793809a
commit
f7876be31f
@ -118,8 +118,17 @@ function onLoad() {
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<input type="hidden" name="useragent" id="useragent" value=""/>
|
||||
|
||||
<script type="text/javascript">
|
||||
if (document.getElementById)
|
||||
{
|
||||
var useragent = navigator.userAgent;
|
||||
document.getElementById("useragent").setAttribute("value", useragent);
|
||||
}
|
||||
</script>
|
||||
|
||||
<input type="hidden" name="action" value="submit"/>
|
||||
<input type="hidden" name="stylesheet" value="[% stylesheet FILTER html %]"/>
|
||||
</form>
|
||||
|
||||
<p>
|
||||
|
||||
@ -31,3 +31,7 @@ Summary: [% form.subject %]
|
||||
|
||||
Comments:
|
||||
[%+ form.comments %]
|
||||
|
||||
[% IF form.useragent %]
|
||||
Browser Details: [% form.useragent %]
|
||||
[% END %]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user