gruffen commited on 2011-05-20 01:43:52
Showing 1 changed files, with 7 additions and 1 deletions.
... | ... |
@@ -1299,7 +1299,13 @@ function shd_done_posting() |
1299 | 1299 |
if (empty($_REQUEST['goback'])) |
1300 | 1300 |
redirectexit($context['shd_home'] . $context['shd_dept_link']); |
1301 | 1301 |
elseif (!empty($context['ticket_form']['msg'])) |
1302 |
- redirectexit('action=helpdesk;sa=ticket;ticket=' . $context['ticket_id'] . '.msg' . $context['ticket_form']['msg'] . '#msg' . $context['ticket_form']['msg'], $context['browser']['is_ie']); |
|
1302 |
+ { |
|
1303 |
+ // IE prior to 9 has issues with the ; in the URL and preserving the # fragment, so we give it & instead. |
|
1304 |
+ if ($context['browser']['is_ie']) |
|
1305 |
+ redirectexit('action=helpdesk&sa=ticket&ticket=' . $context['ticket_id'] . '.msg' . $context['ticket_form']['msg'] . '#msg' . $context['ticket_form']['msg'], true); |
|
1306 |
+ else |
|
1307 |
+ redirectexit('action=helpdesk;sa=ticket;ticket=' . $context['ticket_id'] . '.msg' . $context['ticket_form']['msg'] . '#msg' . $context['ticket_form']['msg'], false); |
|
1308 |
+ } |
|
1303 | 1309 |
else |
1304 | 1310 |
redirectexit('action=helpdesk;sa=ticket;ticket=' . $context['ticket_id']); |
1305 | 1311 |
} |
1306 | 1312 |