X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/800bc0a9753b761c8b3f7b2eb9320226332c8399..b5f8d214ba00903379f8716ef563f19743a120b6:/redakcja/static/js/wiki/view_editor_wysiwyg.js?ds=sidebyside 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); } });