From f18572dbe8b4b604a63cb58170f7755ec9793842 Mon Sep 17 00:00:00 2001 From: zuber <marek@stepniowski.com> Date: Thu, 7 Jan 2010 14:28:51 +0100 Subject: [PATCH] =?utf8?q?Serwis=20powinien=20ju=C5=BC=20dzia=C5=82a=C4=87?= =?utf8?q?=20bez=20Firebuga.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- platforma/static/js/main.js | 4 ++-- platforma/templates/base.html | 11 ----------- 2 files changed, 2 insertions(+), 13 deletions(-) diff --git a/platforma/static/js/main.js b/platforma/static/js/main.js index 62ee8ff6..c88f2930 100644 --- a/platforma/static/js/main.js +++ b/platforma/static/js/main.js @@ -1,5 +1,5 @@ -if (!console) { - console = { +if (!window.console) { + window.console = { log: function() {} } } diff --git a/platforma/templates/base.html b/platforma/templates/base.html index 57d8f985..4819b7c4 100755 --- a/platforma/templates/base.html +++ b/platforma/templates/base.html @@ -4,23 +4,12 @@ <head> <meta http-equiv="Content-type" content="text/html; charset=utf-8" /> <title>{% block title %}Platforma Redakcyjna{% block subtitle %}{% endblock subtitle %}{% endblock title%}</title> - {# <link rel="stylesheet" href="{{ STATIC_URL }}css/master.css" type="text/css" /> #} - {# <link rel="stylesheet" href="{{ STATIC_URL }}css/buttons.css" type="text/css" /> #} <script src="{{ STATIC_URL }}js/lib/jquery.js" type="text/javascript" charset="utf-8"></script> - <script src="{{ STATIC_URL }}js/lib/jquery.logging.js" type="text/javascript" charset="utf-8"></script> {% block extrahead %} {% endblock %} </head> <body id="{% block bodyid %}base{% endblock %}"> <div id="body-wrap"> - {# <div id="header"> #} - {# <span id="breadcrumbs">{% block breadcrumbs %}<a href="{% url file_list %}">Platforma Redakcyjna</a>{% endblock breadcrumbs %}</span> #} - {# <span id="header-right-toolbar"> #} - {# {% block header-toolbar %}{% endblock %} #} - {# <span id="login_info">{% include "registration/head_login.html" %}</span> #} - {# </span> #} - {# <div id="message-box">{% block message-box %} {% endblock %}</div> #} - {# </div> #} <div id="content">{% block maincontent %} {% endblock %}</div> </div> {% block extrabody %}{% endblock %} -- 2.20.1