Redirect template (kEvent::redirect attribute) has no effect, when popups are used

4 views
Skip to first unread message

Alexander Obuhovich

unread,
Dec 23, 2009, 8:40:20 AM12/23/09
to In-Portal Bugs
There is way to specify template name, that should be shown after event is completed successfully. This is done by assigning it's name to $event->redirect attribute. Sadly, but this doesn't work in case if popups are used, where next shown template is retrieved from opener stack, e.g. active template before popup was opened. I propose to modify opener stack in case if $event->redirect is manually change by developer.

Imported from wiki.
Task: http://tracker.in-portal.org/view.php?id=493  (0000493: Redirect template (kEvent::redirect attribute) has no effect, when popups are used).

--
Best Regards,

http://www.in-portal.org
http://www.alex-time.com

Alexander Obuhovich

unread,
Oct 15, 2011, 2:42:20 PM10/15/11
to In-Portal Bugs
Here is the patch.

Ready for testing.
event_redirect_settings_works_with_opener_stack.patch

Dmitry A.

unread,
Oct 15, 2011, 10:37:22 PM10/15/11
to in-port...@googlegroups.com
It's quite an old issues and finally get's a patch.


DA

Alexander Obuhovich

unread,
Oct 16, 2011, 8:45:09 AM10/16/11
to in-port...@googlegroups.com
Every reported issue will get it's patch eventually. Only if we don't close the task for some other reason.


On Sun, Oct 16, 2011 at 5:37 AM, Dmitry A. <dand...@gmail.com> wrote:
It's quite an old issues and finally get's a patch.


DA

--
You received this message because you are subscribed to the Google Groups "In-Portal Bugs Team" group.
To view this discussion on the web visit https://groups.google.com/d/msg/in-portal-bugs/-/DN0ioPzPIQcJ.
To post to this group, send email to in-port...@googlegroups.com.
To unsubscribe from this group, send email to in-portal-bug...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/in-portal-bugs?hl=en.

Dmitry A.

unread,
Jan 10, 2012, 8:22:36 PM1/10/12
to in-port...@googlegroups.com
Hi guys,


I have recently noticed (in 5.2.0) that if I click "Reload" option in DBG while looking at Add/Edit User Modal Window I see List of Users instead of the same Add/Edit page.

Not sure if this is related to this discussion, but I think we have recently made some change to what's kept in the Session.

Can anyone else confirm the same issue?


DA

Alexander Obuhovich

unread,
Jan 11, 2012, 3:33:50 AM1/11/12
to in-port...@googlegroups.com
Button "Reload Frame" in debugger toolbar correctly performed page reload (no matter if it's a modal window or main window).

Of course using browser reload button will reload top frame resulting all modal windows to collapse.




DA

--
You received this message because you are subscribed to the Google Groups "In-Portal Bugs Team" group.
To view this discussion on the web visit https://groups.google.com/d/msg/in-portal-bugs/-/YPoX76_m__gJ.

To post to this group, send email to in-port...@googlegroups.com.
To unsubscribe from this group, send email to in-portal-bug...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/in-portal-bugs?hl=en.

Phil

unread,
Jan 11, 2012, 6:51:53 AM1/11/12
to in-port...@googlegroups.com
maybe it's not the right place here, but I'd suggest that toolbar buttons stay at top of the page when we scroll down in debug log.

-- 
Phil
Envoyé avec Sparrow

Alexander Obuhovich

unread,
Jan 11, 2012, 6:54:46 AM1/11/12
to in-port...@googlegroups.com
Actual debugger toolbar is hidden upon debugger report is displayed. What you address as toolbar is actually same functionality as first line in debugger report :)

That maybe done as you suggest, Phil, but since I can easily press Esc to close debugger report and see actual "Refresh Frame" toolbar button, then I guess there is no need to change anything related to this.

Phil

unread,
Jan 11, 2012, 7:14:59 AM1/11/12
to in-port...@googlegroups.com
I didn't knew about this Esc feature, nice !! no need then  :)

-- 
Phil
Envoyé avec Sparrow

Alexander Obuhovich

unread,
Jan 11, 2012, 8:37:31 AM1/11/12
to in-port...@googlegroups.com
You can also open debugger by pressing F12 at any place on the page.

Phil

unread,
Jan 11, 2012, 10:46:43 AM1/11/12
to in-port...@googlegroups.com
nice infos... why shouldn't we decide to work a bit on wiki pages, each of us, to have an up to date manual? It would be easier to make it time after time when we create updates and new features...

-- 
Phil
Envoyé avec Sparrow

Dmitry Andrejev

unread,
Jan 11, 2012, 11:48:43 AM1/11/12
to in-port...@googlegroups.com
Well, this is what I get when click Reload Frame.

DA
Best regards,

Dmitry A.

ReloadFrame.png
Reply all
Reply to author
Forward
0 new messages