From acfd321d5a6ccf9eae79ce75da8a8908467b9862 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Thu, 29 Nov 2012 21:17:50 +0100 Subject: [PATCH] Replaced native .trim() because IE8 is not supporting it. --- .../javascripts/app/controllers/agent_ticket_zoom.js.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/app/controllers/agent_ticket_zoom.js.coffee b/app/assets/javascripts/app/controllers/agent_ticket_zoom.js.coffee index 5266c5473..eda0d90c0 100644 --- a/app/assets/javascripts/app/controllers/agent_ticket_zoom.js.coffee +++ b/app/assets/javascripts/app/controllers/agent_ticket_zoom.js.coffee @@ -440,7 +440,7 @@ class Article extends App.Controller # build html body # cleanup body # @article['html'] = @article.body.trim() - @article['html'] = $.trim( @article.body.trim() ) + @article['html'] = $.trim( @article.body ) @article['html'].replace( /\n\r/g, "\n" ) @article['html'].replace( /\n\n\n/g, "\n\n" )