Closed (fixed)
Project:
Colorbox Node
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Aug 2012 at 06:08 UTC
Updated:
25 Sep 2012 at 18:59 UTC
Jump to comment: Most recent file
Comments
Comment #1
iLLin commentedWhat browser? This worked for me when I set it up.
Comment #2
murzBrowser is Mozilla Firefox 14, you can try to reproduce this issue here:
http://caramba-nn.ru/product/magic-ball
Press on the link "Подписаться на снижение цены" in right column, type in "E-mail или телефон" field something like "test@example.com", and you will see that colorbox window closed.
If you use full form page: http://caramba-nn.ru/node/27?width=500&nid=33 and submit form, you will go to the http://caramba-nn.ru/order-submit?sid=XXX page via 301 redirect.
Can you help to understand, why in my site redirect is not working?
Comment #3
murzNow I also test this on another developing site and it isn't work too. After clicking submit colorbox closes and I stay on current page, redirect is missed. Did you have any example site on which I can see how this works and try to find differences on my site?
Comment #4
iLLin commentedCan you add this at around line 86:
$params['onClosed'] = 'close';It should be after
$params['href'] = '#cboxNode';That was removed due to this issue: #1684784: colorbox closes with error on Firefox
Comment #5
iLLin commentedHmmm, i just woke... no idea why I that ^ would work. LOL. I will look into when I have time.
Comment #6
iLLin commentedOK, what do you mean by a 301 Redirect? You need to fill in the redirect URL in the webform settings page. I'm not sure if there is token replacement in that URL or not. Look at this code here:
That is what does the redirect. Not sure what you are doing as it seems custom.
Comment #7
iLLin commentedOK, I found the problem. Give me a few and I will post a patch.
Comment #8
iLLin commentedThis patch should do it. Tested it out and let me know then I will commit it.
Comment #9
murzThanks, this patch works well on both my sites!
Comment #10
iLLin commented