Project:Wishlist Module
Version:6.x-2.2
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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.

Comments

#1

Status:active» needs review

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?

#2

Status:needs review» closed (fixed)

This change has been committed.

nobody click here