diff --git a/static/js/my.js b/static/js/my.js index 96b813f..cfb606b 100644 --- a/static/js/my.js +++ b/static/js/my.js @@ -1,20 +1,13 @@ -function errShow(errContent) { - //window.history.back(); - - $('#modContent').html('\ -\ -'); +function show_Modal(title, content, type_class){ + $('#modContent').html(''+content); $('#modFrm').modal(); +} +function errShow(errContent) { + show_Modal('Ошибка', '', 'warning'); } $(document).ajaxError(function (ev, jqXHR, ajaxSettings, thrownError) {