DonWolli
Posts: 93
|
Posted: 05/10/2013, 1:31 PM |
|
i have quite large page which i divided with tabs (jquery easytab). these tabs use anchors to jump to the right place. when i edit a form and there is an error, ccs returns to the page WITHOUT respecting the tab,
e.g.
i edit on page.php#tab1
it should return to page.php#tab1?bewerbungID=10&ccsForm=bewerbungea%3AEdit
but it return to
page.php?bewerbungID=10&ccsForm=bewerbungea%3AEdit
how can i change this wrong behaviour?
sunny greetings
don
_________________
You may say I'm a dreamer, but I'm not the only one.(J.Lennon) |
|
|
Lucius
Posts: 220
|
Posted: 05/10/2013, 3:51 PM |
|
Does your page do a full refresh on error, or for example uses some ajax panel to refresh?
|
|
|
DonWolli
Posts: 93
|
Posted: 05/11/2013, 8:16 AM |
|
there is a full page refresh, no ajax
_________________
You may say I'm a dreamer, but I'm not the only one.(J.Lennon) |
|
|
Lucius
Posts: 220
|
Posted: 05/11/2013, 8:55 AM |
|
OK, so most likely the anchor is stripped automatically. I don't know if it's possible to prevent such behavior.
I would check 3 solutions:
- on the grid - set "Convert URL to" property to absolute - just a guess, maybe this will add the initial anchor
- after processing on the grid (on After Excute Insert and After Execute Update events for example) I would construct redirect URL using Redirect global variable, that also contains current tab page
- if above with Redirect global var will not work (it sometimes doesn't), then again construct redirect URL, but echo it as a javascript script
|
|
|
|