To participate you must create an account on apostrophenow.org. If you have already done so, click Login.
Changeset 4532
- 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:
-
Legend:
- Unmodified
- Added
- Removed
-
|
r4527
|
r4532
|
|
| 2955 | 2955 | var target = $(event.target); |
| 2956 | 2956 | |
| 2957 | | if ((target.closest(button.selector).length == 0)) |
| | 2957 | if ((target.closest(button.selector).length == 0) && (target.closest('.a-page-form').length == 0)) |
| 2958 | 2958 | { |
| 2959 | 2959 | menu.trigger('toggleClosed'); |
| 2960 | 2960 | } |
| 2961 | | |
| 2962 | | if (target.closest(overlay.selector).length) |
| | 2961 | else if (overlay && target.closest(overlay.selector).length) |
| 2963 | 2962 | { |
| 2964 | 2963 | menu.trigger('toggleClosed'); |
| 2965 | 2964 | } |
| 2966 | | |
| 2967 | | if (target.closest('.a-cancel').length) |
| | 2965 | else if (target.closest('.a-cancel').length) |
| 2968 | 2966 | { |
| 2969 | 2967 | menu.trigger('toggleClosed'); |
Download in other formats: