Show/hide purchase details fails
cvdenzen - May 24, 2009 - 12:40
| Project: | Wishlist Module |
| Version: | 6.x-2.2 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs review |
Jump to:
Description
I get this error when I try to hide or reveal the purchase details: "The requested URL /wishlist/1 was not found on this server.".
This URL doesn't exist, my Drupal installation is in the directory drupal, so the node should be drupal/wishlist/1 (I guess).
Maybe the error is in line 1070 in wishlist.module.

#1
When I changed the line into:
'#attributes' => array('onChange' => "top.location.href='../".$_GET['q']."?wl_reveal='+this.value"),
the function hide/reveal works (I added two dots before the slash)
If this really is the right solution, could anyone commit this patch?