Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Take the following situation...
- Javascript disabled
- Edit and existing node
You'll notice that if you do that it points back to the node/add/[content type] path. Ooops this is kind of a usability issue. If we do the following it should resolve the issue...
Change the code from line 130...
'query' => array('destination' => 'node/add/' . str_replace('_', '-', $src_type)),
to...
'query' => array('destination' => $_GET['q']),
It should redirect properly :)
Comments
Comment #1
Kristen PolI have the "add" link on some non-node/add pages (using panels) and popups_reference isn't working in this case. I tried changing the destination (via form_alter) but still no go. :(
Kristen
Comment #2
ShaneOnABike CreditAttribution: ShaneOnABike commentedMaybe take a look at the path that is being passed? And also how panels is actually generating it's normal path b/c that could be causing issues for you? Just a thought. Good luck!
Comment #3
apadernoI am closing this issue, as it has been created for a release that is now not supported.