From bfdfacaea46413e3e32e4bdb3760fbe6f1ade25b Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C5=81ukasz=20Rekucki?= Date: Mon, 8 Mar 2010 13:39:44 +0100 Subject: [PATCH 1/1] Fixed broken error messages in Firefox. Fixes #373 --- platforma/static/js/main.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/platforma/static/js/main.js b/platforma/static/js/main.js index 8aff7317..c7e0af86 100644 --- a/platforma/static/js/main.js +++ b/platforma/static/js/main.js @@ -301,7 +301,11 @@ function transform(editor, callback) { callback(); } }, error: function(text) { - $('#html-view').html('

Wystąpił błąd:

' + text + '
'); + var message = $('
');
+				message.text(text);
+                $('#html-view').html('

Wystąpił błąd:

' + 
+				    message.html() + '
'); + $.unblockUI(); if (callback) { callback(); -- 2.20.1