Bugzilla – Attachment 2274 Details for
Bug 4912
After editing private list, user should be redirect to private lists
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed fix
0001-Fix-for-Bug-4912-After-editing-private-list-redirect.patch (text/plain), 4.88 KB, created by
Owen Leonard
on 2010-06-25 19:07:01 UTC
(
hide
)
Description:
Proposed fix
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2010-06-25 19:07:01 UTC
Size:
4.88 KB
patch
obsolete
>From 9a84df6fb59a5bd0952713cdde338015b0ed2d19 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Fri, 25 Jun 2010 14:48:10 -0400 >Subject: [PATCH] Fix for Bug 4912 - After editing private list redirect to private lists > >--- > .../prog/en/modules/virtualshelves/shelves.tmpl | 6 +++++- > koha-tmpl/opac-tmpl/prog/en/css/opac.css | 5 ++++- > .../opac-tmpl/prog/en/modules/opac-shelves.tmpl | 3 ++- > 3 files changed, 11 insertions(+), 3 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tmpl >index 62ee69a..44513c5 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tmpl >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tmpl >@@ -274,6 +274,7 @@ function placeHold () { > > <!-- TMPL_IF name="edit" --> > <input type="hidden" name="op" value="modifsave" /> >+ <!-- TMPL_IF NAME="showprivateshelves" --><input type="hidden" name="display" value="privateshelves" /><!-- /TMPL_IF --> > <input type="hidden" name="shelfnumber" value="<!-- TMPL_VAR name="shelfnumber" -->" /> > <legend>Edit List <i><!-- TMPL_VAR name="shelfname" --></i></legend> > <ol> >@@ -306,7 +307,9 @@ function placeHold () { > <!-- /TMPL_IF --> > > </fieldset> >- <fieldset class="action"><input type="submit" onclick="Check(this.form); return false;" value="Save" class="submit" /><a href="/cgi-bin/koha/virtualshelves/shelves.pl" class="cancel">Cancel</a></fieldset> >+ <fieldset class="action"><input type="submit" onclick="Check(this.form); return false;" value="Save" class="submit" /> >+ <!-- TMPL_IF NAME="showprivateshelves" --><a href="/cgi-bin/koha/virtualshelves/shelves.pl?display=privateshelves" class="cancel">Cancel</a><!-- TMPL_ELSE --><a href="/cgi-bin/koha/virtualshelves/shelves.pl" class="cancel">Cancel</a><!-- /TMPL_IF --> >+ </fieldset> > </form> > </div> > <div class="yui-u"> >@@ -360,6 +363,7 @@ function placeHold () { > <form action="shelves.pl" method="get"> > <input type="hidden" name="shelfnumber" value="<!-- TMPL_VAR NAME="shelf" -->" /> > <input type="hidden" name="op" value="modif" /> >+ <input type="hidden" name="display" value="privateshelves" /> > <input type="submit" class="editshelf" value="Edit" /> > </form> > <form action="shelves.pl" method="post"> >diff --git a/koha-tmpl/opac-tmpl/prog/en/css/opac.css b/koha-tmpl/opac-tmpl/prog/en/css/opac.css >index 5142dd2..e1fcb49 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/css/opac.css >+++ b/koha-tmpl/opac-tmpl/prog/en/css/opac.css >@@ -572,7 +572,10 @@ input.deleteshelf { > } > > >-#toolbar input.editshelf:active,input.deleteshelf:active { >+#toolbar input.editshelf:active, >+input.editshelf:active, >+#toolbar input.deleteshelf:active, >+input.deleteshelf:active { > border : 0; > } > >diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-shelves.tmpl b/koha-tmpl/opac-tmpl/prog/en/modules/opac-shelves.tmpl >index bb2078a..931502e 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-shelves.tmpl >+++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-shelves.tmpl >@@ -306,6 +306,7 @@ $(function() { > <h3><a href="/cgi-bin/koha/opac-shelves.pl">Lists</a> <img src="<!-- TMPL_VAR NAME="themelang" -->/../images/caret.gif" width="16" height="16" alt=">" border="0" /> <a href="/cgi-bin/koha/opac-shelves.pl?viewshelf=<!-- TMPL_VAR NAME="shelfnumber" -->"><em><!-- TMPL_VAR NAME="shelfname" ESCAPE="html" --></em></a> <img src="<!-- TMPL_VAR NAME="themelang" -->/../images/caret.gif" width="16" height="16" alt=">" border="0" /> Editing</h3> > <form method="post" action="/cgi-bin/koha/opac-shelves.pl"> > <input type="hidden" name="op" value="modifsave" /> >+ <!-- TMPL_IF NAME="showprivateshelves" --><input type="hidden" name="display" value="privateshelves" /><!-- /TMPL_IF --> > <input type="hidden" name="shelfnumber" value="<!-- TMPL_VAR NAME="shelfnumber" -->" /> > <fieldset class="rows"> > <ol> >@@ -327,7 +328,7 @@ $(function() { > </li> > </ol> > </fieldset> >- <fieldset class="action"><input type="submit" value="Save" class="submit" /> <a class="cancel" href="/cgi-bin/koha/opac-shelves.pl?shelfnumber=<!-- TMPL_VAR NAME="shelfnumber" -->">Cancel</a></fieldset> >+ <fieldset class="action"><input type="submit" value="Save" class="submit" /> <!-- TMPL_IF NAME="showprivateshelves" --><a class="cancel" href="/cgi-bin/koha/opac-shelves.pl?shelfnumber=<!-- TMPL_VAR NAME="shelfnumber" -->&display=privateshelves">Cancel</a><!-- TMPL_ELSE --><a class="cancel" href="/cgi-bin/koha/opac-shelves.pl?shelfnumber=<!-- TMPL_VAR NAME="shelfnumber" -->">Cancel</a><!-- /TMPL_IF --></fieldset> > </form> > <!-- /TMPL_IF --><!-- /edit --> > >-- >1.7.0.4 >
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 4912
:
2274
|
2773
|
7631
|
7646
|
7923
|
7932
|
46329
|
46332
|
46370