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

Changeset 4532

Show
Ignore:
Timestamp:
01/30/12 09:39:25 (4 months ago)
Author:
wjohnald
Message:

Fixed bug that caused page forms not to work

Location:
plugins/apostrophePlugin/branches/1.5/web/js
Files:
1 added
1 modified

Legend:

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

    r4527 r4532  
    29552955                var target = $(event.target); 
    29562956 
    2957                 if ((target.closest(button.selector).length == 0)) 
     2957                if ((target.closest(button.selector).length == 0) && (target.closest('.a-page-form').length == 0)) 
    29582958                { 
    29592959                    menu.trigger('toggleClosed'); 
    29602960                } 
    2961  
    2962                 if (target.closest(overlay.selector).length) 
     2961                else if (overlay && target.closest(overlay.selector).length) 
    29632962                { 
    29642963                    menu.trigger('toggleClosed'); 
    29652964                } 
    2966  
    2967                 if (target.closest('.a-cancel').length) 
     2965                else if (target.closest('.a-cancel').length) 
    29682966                { 
    29692967                    menu.trigger('toggleClosed');