Bugzilla – Attachment 2733 Details for
Bug 5371
Back-button in OPAC shows previous user's details, after logout
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
0001-Bug-5371-Back-button-in-OPAC-show-previous-user-s-de.patch (text/plain), 2.09 KB, created by
Mason James
on 2010-11-07 12:31:39 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Mason James
Created:
2010-11-07 12:31:39 UTC
Size:
2.09 KB
patch
obsolete
>From 45d305065dae74ec1448ceaadd331fb70109ac30 Mon Sep 17 00:00:00 2001 >From: Mason James <mason@kohaaloha.com> >Date: Mon, 8 Nov 2010 01:00:11 +1300 >Subject: [PATCH] Bug 5371 - Back-button in OPAC show previous user's details > applied to v3.02.00 >Content-Type: text/plain; charset="utf-8" > >--- > koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc | 2 +- > koha-tmpl/opac-tmpl/prog/en/js/script.js | 5 +++++ > 2 files changed, 6 insertions(+), 1 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc b/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc >index 709371b..f834ffb 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc >+++ b/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc >@@ -10,7 +10,7 @@ > <!-- TMPL_IF NAME="ShowOpacRecentSearchLink" --> > <li><a href="/cgi-bin/koha/opac-search-history.pl" title="View your search history">Search history</a> [<a class="logout" href="/cgi-bin/koha/opac-search-history.pl?action=delete" title="Delete your search history" onclick="return confirm(_('Are you sure you want to delete your search history?'));">x</a>]</li> > <!-- /TMPL_IF --> >- <!-- TMPL_IF NAME="loggedinusername" --><li><a class="logout" id="logout" href="/cgi-bin/koha/opac-main.pl?logout.x=1">Log Out</a></li><!-- /TMPL_IF --> >+ <!-- TMPL_IF NAME="loggedinusername" --><li><a class="logout" id="logout" href="/cgi-bin/koha/opac-main.pl?logout.x=1" onClick="logoutTab();return false;">Log Out</a></li><!-- /TMPL_IF --> > </ul> > <!-- /TMPL_IF --> > </div> >diff --git a/koha-tmpl/opac-tmpl/prog/en/js/script.js b/koha-tmpl/opac-tmpl/prog/en/js/script.js >index 76a6c91..e9c8b68 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/js/script.js >+++ b/koha-tmpl/opac-tmpl/prog/en/js/script.js >@@ -72,3 +72,8 @@ YAHOO.util.Event.onContentReady("listsmenu", function () { > YAHOO.util.Event.addListener("listsmenulink", "click", listMenu.show, null, listMenu); > YAHOO.widget.Overlay.windowResizeEvent.subscribe(positionlistMenu); > }); >+ >+function logoutTab() { >+ window.open("/cgi-bin/koha/opac-main.pl?logout.x=1"); >+this.window.close(); >+} >-- >1.7.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 5371
:
2733
|
4761
|
42648
|
42911
|
43002
|
43004
|
43005
|
43036
|
43037