X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/0be3fc3037cea44c23261215f92d6c24dbf81060..3314477c16f2492b2a6b95b17922e5b6f2b087ca:/redakcja/static/js/wiki/view_editor_wysiwyg.js diff --git a/redakcja/static/js/wiki/view_editor_wysiwyg.js b/redakcja/static/js/wiki/view_editor_wysiwyg.js index dc24aea8..2beb4d4a 100644 --- a/redakcja/static/js/wiki/view_editor_wysiwyg.js +++ b/redakcja/static/js/wiki/view_editor_wysiwyg.js @@ -503,7 +503,10 @@ _finalize(success); }, error: function(text, source){ - $('#html-view').html('
WystÄ piÅ bÅÄ d:
'+text+'
'+source.replace(/&/g, '&').replace(/'); + err = 'WystÄ piÅ bÅÄ d:
'+text+'
'; + if (source) + err += ''+source.replace(/&/g, '&').replace(/' + $('#html-view').html(err); _finalize(failure); } });