From: Łukasz Rekucki Date: Mon, 8 Mar 2010 12:39:44 +0000 (+0100) Subject: Fixed broken error messages in Firefox. Fixes #373 X-Git-Url: https://git.mdrn.pl/redakcja.git/commitdiff_plain/bfdfacaea46413e3e32e4bdb3760fbe6f1ade25b?hp=05124c8c30a67c005eac475a262c6e3c61473590 Fixed broken error messages in Firefox. Fixes #373 --- 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();