X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/662a8a111721df714e9c95f94db91d2d03d7b19d..c9355cb6a53e0fa130ebe8458f9bcda3ef0c4a50:/platforma/static/js/main.js?ds=inline diff --git a/platforma/static/js/main.js b/platforma/static/js/main.js index 15099585..d42af82b 100644 --- a/platforma/static/js/main.js +++ b/platforma/static/js/main.js @@ -763,7 +763,7 @@ $(function() { CodeMirror.fromTextArea('id_text', { parserfile: 'parsexml.js', path: STATIC_URL + "js/lib/codemirror/", - stylesheet: STATIC_URL + "css/xmlcolors.css", + stylesheet: STATIC_URL + "css/xmlcolors_15032010.css", parserConfig: { useHTMLKludges: false }, @@ -896,6 +896,9 @@ $(function() { } $(window).resize(); }); - + + $(window).bind('beforeunload', function(event) { + return "Na stronie mogą być niezapisane zmiany."; + }); });