/[drupal]/contributions/modules/debug/debug.js
ViewVC logotype

Diff of /contributions/modules/debug/debug.js

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.1, Sun Oct 21 14:34:09 2007 UTC revision 1.2, Fri Nov 16 02:31:21 2007 UTC
# Line 31  if (Drupal.jsEnabled) { Line 31  if (Drupal.jsEnabled) {
31          $('#btn_close').click(function(){ $('#debug_window').fadeOut('slow'); });          $('#btn_close').click(function(){ $('#debug_window').fadeOut('slow'); });
32    
33          // set each item  inside the debug to collapse          // set each item  inside the debug to collapse
34          $('.debug .lbl')          /*$('.debug .lbl')
35                  .toggle(                  .toggle(
36                          function(){ $(this).next().slideUp('slow'); },                          function(){ $(this).next().slideUp('slow'); },
37                          function(){ $(this).next().slideDown('slow'); }                          function(){ $(this).next().slideDown('slow'); }
38                  )                  )
39                  .mouseover(function(){ $(this).css('cursor','pointer'); })                  .mouseover(function(){ $(this).css('cursor','pointer'); })
40                  .mouseout(function(){ $(this).css('cursor','default'); });                  .mouseout(function(){ $(this).css('cursor','default'); });
41            */
42            $('.debug .lbl .expand')
43                    .toggle(
44                            function(){ $(this).parent().next().slideUp('slow'); $(this).html("+"); },
45                            function(){ $(this).parent().next().slideDown('slow'); $(this).html("-"); }
46                    );
47            $('.debug .lbl .info')
48                    .toggle(
49                            function(){ $(this).next().slideDown('slow'); },
50                            function(){ $(this).next().slideUp('slow'); }
51            );
52    
53    
54          // if jquib module is installed AND works, make draggable and resizable          // if jquib module is installed AND works, make draggable and resizable
55          if (typeof $ui != 'undefined') {          if (typeof $ui != 'undefined') {

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.2