Dotclear


Ignore:
Timestamp:
06/07/11 08:57:44 (14 years ago)
Author:
Dsls <dsls@…>
Branch:
default
Parents:
342:a5d04d2da753 (diff), 341:796cb01c7120 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merged with 2.3 latest bugfixes

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • admin/js/common.js

    r314 r343  
    5757} 
    5858 
    59 jQuery.fn.toggleWithLegend = function(target,s, callback) { 
     59jQuery.fn.toggleWithLegend = function(target,s) { 
    6060     var defaults = { 
    6161          img_on_src: dotclear.img_plus_src, 
     
    7979     } 
    8080 
    81      var toggle = function(i,speed, callback) { 
     81     var toggle = function(i,speed) { 
    8282          speed = speed || 0; 
    8383          if (p.hide) { 
    8484               $(i).get(0).src = p.img_on_src; 
    8585               $(i).get(0).alt = p.img_on_alt; 
    86                target.hide(speed, callback); 
     86               target.hide(speed, positionFooter); 
    8787          } else { 
    8888               $(i).get(0).src = p.img_off_src; 
    8989               $(i).get(0).alt = p.img_off_alt; 
    90                target.show(speed, callback); 
     90               target.show(speed, positionFooter); 
    9191               if (p.fn) { 
    9292                    p.fn.apply(target); 
     
    122122          $(ctarget).css('cursor','pointer'); 
    123123          $(ctarget).click(function() { 
    124                toggle(i,p.speed, callback); 
     124               toggle(i,p.speed, positionFooter); 
    125125               return false; 
    126126          }); 
     
    356356     } 
    357357     $('#blog-menu h3:first').toggleWithLegend($('#blog-menu ul:first'), 
    358           $.extend({cookie:'dc_blog_menu'},menu_settings), 
    359           positionFooter 
     358          $.extend({cookie:'dc_blog_menu'},menu_settings) 
    360359     ); 
    361360     $('#system-menu h3:first').toggleWithLegend($('#system-menu ul:first'), 
    362           $.extend({cookie:'dc_system_menu'},menu_settings), 
    363           positionFooter 
     361          $.extend({cookie:'dc_system_menu'},menu_settings) 
    364362     ); 
    365363     $('#plugins-menu h3:first').toggleWithLegend($('#plugins-menu ul:first'), 
    366           $.extend({cookie:'dc_plugins_menu'},menu_settings), 
    367           positionFooter 
     364          $.extend({cookie:'dc_plugins_menu'},menu_settings) 
    368365     ); 
    369366     $('#favorites-menu h3:first').toggleWithLegend($('#favorites-menu ul:first'), 
    370           $.extend({cookie:'dc_favorites_menu',hide:false,reverse_cookie:true},menu_settings), 
    371           positionFooter 
     367          $.extend({cookie:'dc_favorites_menu',hide:false,reverse_cookie:true},menu_settings) 
    372368     ); 
    373369 
  • admin/js/common.js

    r299 r343  
    335335               position: "static", 
    336336               padding: ".75em 0", 
    337                width: "auto", 
     337               width: "auto" 
    338338          }); 
    339339     } 
Note: See TracChangeset for help on using the changeset viewer.

Sites map