Serwis powinien już działać bez Firebuga.
authorzuber <marek@stepniowski.com>
Thu, 7 Jan 2010 13:28:51 +0000 (14:28 +0100)
committerzuber <marek@stepniowski.com>
Thu, 7 Jan 2010 13:28:51 +0000 (14:28 +0100)
platforma/static/js/main.js
platforma/templates/base.html

index 62ee8ff..c88f293 100644 (file)
@@ -1,5 +1,5 @@
-if (!console) {
-    console = {
+if (!window.console) {
+    window.console = {
         log: function() {}
     }
 }
         log: function() {}
     }
 }
index 57d8f98..4819b7c 100755 (executable)
@@ -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>
     <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.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">
         {% 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 %}
         <div id="content">{% block maincontent %} {% endblock %}</div>
         </div>
     {% block extrabody %}{% endblock %}