[Patches] [PATCH] Bug 7341 - [SIGNED-OFF] Patch to fix error produced when clicking cancel in system preferences search results - bug 7341

koha-patchbot at kohaaloha.com koha-patchbot at kohaaloha.com
Sat Dec 31 02:45:03 NZDT 2011


From: Duncan Tyler <duncan at catalyst.net.nz>
Date: Thu, 22 Dec 2011 14:32:22 +1300
Subject: [PATCH] Bug 7341 - [SIGNED-OFF] Patch to fix error produced when clicking cancel in system preferences search results - bug 7341
Content-Type: text/plain; charset="utf-8"


Signed-off-by: Magnus Enger <magnus at enger.priv.no>
---
 .../prog/en/modules/admin/preferences.tt           |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences.tt
index 6d49ca7..d762be7 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences.tt
@@ -135,7 +135,7 @@
             [% IF ( loop.last ) %]</tbody></table>[% END %]
             [% END %]
         [% END %]
-        <fieldset class="action"><button class="save-all submit" type="submit">Save all [% TAB.tab_title %] preferences</button> <a href="/cgi-bin/koha/admin/preferences.pl?tab=[% TAB.tab %]" class="cancel">Cancel</a></fieldset>
+        <fieldset class="action"><button class="save-all submit" type="submit">Save all [% TAB.tab_title %] preferences</button> <a href="#" onclick="window.location.reload(true);" class="cancel">Cancel</a></fieldset>
     </form>
     </div>
     [% END %]
-- 
1.7.2.5




More information about the Patches mailing list