js error fixed when messages
authorLoic Baron <loic.baron@lip6.fr>
Tue, 21 Apr 2015 16:38:08 +0000 (18:38 +0200)
committerLoic Baron <loic.baron@lip6.fr>
Tue, 21 Apr 2015 16:38:08 +0000 (18:38 +0200)
portal/templates/base.html
ui/templates/messages-transient-header.html

index 4b5999e..596ef0b 100644 (file)
@@ -114,7 +114,6 @@ $(document).ready(function() {
         var items_sl = [];
         $.each( projects, function(i, p) {
             $.each( slices, function(y, s) {
-                console.log(escapeRegExp(p));
                 if (s.match('^' + escapeRegExp(p))) {
                      items_sl.push( "<li><a href=\"/resources/" + s + "\">" + s.replace(p + '.','') + "</a></li>" );
                 }
index 2c2495c..3bcacc9 100644 (file)
@@ -4,6 +4,9 @@
 <!--<link rel='stylesheet' href='{{ STATIC_URL }}css/ui.notify.css' type='text/css' />-->
 
 <script type="text/javascript">
+// XXX disabled since jquery ui conflicts with bootstrap!
+
+/*
 function create( template, vars, opts ){
        return $container.notify("create", template, vars, opts);
 }
@@ -14,7 +17,6 @@ $(function(){
        // container, but can be overwritten on notification-by-notification
        // basis.
 
-       // XXX disabled since jquery ui conflicts with bootstrap!
        //$container = $("#notifications").notify();
        
        // create two when the pg loads
@@ -37,4 +39,5 @@ $(function(){
 
 
 });
+*/
 </script>