To participate you must create an account on apostrophenow.org. If you have already done so, click Login.

Changeset 4527

Show
Ignore:
Timestamp:
01/27/12 16:33:57 (4 months ago)
Author:
tboutell
Message:

menuToggle needs to have a default

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • plugins/apostrophePlugin/branches/1.5/web/js/a.js

    r4525 r4527  
    16741674            if (overlay) 
    16751675            { 
    1676                 overlay = $(overlay); 
     1676              // You can specify a particular overlay, but if you don't 
     1677              // make an explicit choice .a-page-overlay is used  
     1678              if (overlay === true) 
     1679              { 
     1680                overlay = '.a-page-overlay'; 
     1681              } 
     1682              overlay = $(overlay); 
    16771683            } 
    16781684 
     
    29862992                    button.closest('.a-controls').removeClass('aActiveMenu'); 
    29872993                    menu.removeClass(classname); 
    2988                     if (overlay) { overlay.hide(); }; 
     2994                    if (overlay) {  
     2995                      aLog(overlay); 
     2996                      overlay.hide();  
     2997                    }; 
    29892998                    $(document).unbind('click.menuToggleClickHandler'); // Clear out click event 
    29902999                    menu.trigger('afterClosed');