changed: ticket plugin: redirect type in editticket winix function (when there is 'close' parameter)
fixed: prototype doesn't work with jquery (in ticket winix function) (prototype was loaded for lightbox) git-svn-id: svn://ttmath.org/publicrep/winix/trunk@908 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
parent
0045c6c72c
commit
32750a7d50
|
@ -79,10 +79,13 @@
|
|||
|
||||
[if winix_function_is "ticket"]
|
||||
[# !! dodac lightboxa tylko jesli tickety zawieraja obrazki ]
|
||||
<!--
|
||||
[# warning: prototype doesn't work with jquery in clock tickets (in client panel)]
|
||||
<link rel="stylesheet" href="[doc_base_url_common]/lightbox/lightbox.css" type="text/css" media="screen">
|
||||
<script src="[doc_base_url_common]/lightbox/js/prototype.js" type="text/javascript"></script>
|
||||
<script src="[doc_base_url_common]/lightbox/js/scriptaculous.js?load=effects,builder" type="text/javascript"></script>
|
||||
<script src="[doc_base_url_common]/lightbox/js/lightbox.js" type="text/javascript"></script>
|
||||
-->
|
||||
[end]
|
||||
|
||||
|
||||
|
|
|
@ -207,7 +207,7 @@ void EditTicket::MakeGet()
|
|||
if( cur->request->IsParam(L"close") )
|
||||
{
|
||||
CloseTicket();
|
||||
system->RedirectToLastItem();
|
||||
ticket_info->MakeRedirectIfPossible(*cur->request->last_item);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue