Bugzilla – Attachment 25486 Details for
Bug 10714
Redirect to list contents view upon save after initiating edit from list contents view
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 10714 [Follow-up] Redirect to list contents view upon save after initiating edit from list contents view
Bug-10714-Follow-up-Redirect-to-list-contents-view.patch (text/plain), 2.28 KB, created by
Jonathan Druart
on 2014-02-20 10:26:13 UTC
(
hide
)
Description:
Bug 10714 [Follow-up] Redirect to list contents view upon save after initiating edit from list contents view
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2014-02-20 10:26:13 UTC
Size:
2.28 KB
patch
obsolete
>From 40b7b94cf95274a4fcd43a0768df14c69eeec92f Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Wed, 19 Feb 2014 15:06:36 -0500 >Subject: [PATCH] Bug 10714 [Follow-up] Redirect to list contents view upon > save after initiating edit from list contents view > >This follow-up corrects the "cancel" action on list edit actions based >on whether the edit was initiated from the list of lists or the list >contents view. > >To test, view the list of lists and click the edit link next to one of >them. Click the cancel link. You should return to the list of lists you >were just viewing. > >View the contents of a list. Choose "Edit list" from the edit menu. >Click the cancel link on the edit screen. You should return to the list >contents view from which you initiated the edit action. > >Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz> > >Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> >--- > .../intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt | 10 +++++++++- > 1 file changed, 9 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt >index 4c51b34..95fa4b9 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt >@@ -500,7 +500,15 @@ function placeHold () { > > </fieldset> > <fieldset class="action"><input type="submit" onclick="Check(this.form); return false;" value="Save" class="submit" /> >- [% IF ( showprivateshelves ) %]<a href="/cgi-bin/koha/virtualshelves/shelves.pl?display=privateshelves" class="cancel">Cancel</a>[% ELSE %]<a href="/cgi-bin/koha/virtualshelves/shelves.pl" class="cancel">Cancel</a>[% END %] >+ [% IF ( showprivateshelves ) %] >+ <a href="/cgi-bin/koha/virtualshelves/shelves.pl?display=privateshelves" class="cancel">Cancel</a> >+ [% ELSE %] >+ [% IF ( display == "viewshelf" ) %] >+ <a href="/cgi-bin/koha/virtualshelves/shelves.pl?viewshelf=[% shelfnumber %]" class="cancel">Cancel</a> >+ [% ELSE %] >+ <a href="/cgi-bin/koha/virtualshelves/shelves.pl" class="cancel">Cancel</a> >+ [% END %] >+ [% END %] > </fieldset> > </form> > </div> >-- >1.7.10.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 10714
:
20281
|
20347
|
25465
|
25472
|
25473
|
25485
| 25486