From 98e1ff5f9fef7b3248c530481be82dc512b83448 Mon Sep 17 00:00:00 2001 From: Andrew Robert Nicols Date: Tue, 18 Dec 2012 10:23:46 +0000 Subject: [PATCH] MDL-37173 Stop attempting to set User-Agent from core JS This leads to some browsers throwing warnings that it is unsafe to set the User-Agent. It doesn't help us in any way particularly either. --- comment/comment.js | 6 ++---- lib/form/filemanager.js | 3 +-- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/comment/comment.js b/comment/comment.js index f0f4ddfd29a21..544d82fbe2dcd 100644 --- a/comment/comment.js +++ b/comment/comment.js @@ -157,8 +157,7 @@ bodyContent: '