Bugzilla – Attachment 39476 Details for
Bug 14267
How active is active in additem.tt?
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14267: How active is active?
Bug-14267-How-active-is-active.patch (text/plain), 2.09 KB, created by
Marcel de Rooy
on 2015-05-25 09:40:53 UTC
(
hide
)
Description:
Bug 14267: How active is active?
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2015-05-25 09:40:53 UTC
Size:
2.09 KB
patch
obsolete
>From 37bb76f049b2aaddea451dcf0114c4c50f27c305 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Mon, 25 May 2015 11:32:51 +0200 >Subject: [PATCH] Bug 14267: How active is active? >Content-Type: text/plain; charset=utf-8 > >git grep on function active in additem.tt: >koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt:function active(n >koha-tmpl/intranet-tmpl/prog/en/modules/serials/serial-issues-full.tt:active([% >koha-tmpl/intranet-tmpl/prog/en/modules/serials/serial-issues-full.tt:function a >koha-tmpl/intranet-tmpl/prog/en/modules/serials/serial-issues-full.tt: >t/Cache.t: unless ( $cache->is_cache_active() && defined $cache ); >t/Cache.t: unless ( $cache->is_cache_active() ); >Conclusion: active in additem seems to be quite inactive. > >Test plan: >Add, edit or delete items and verify that you did not miss active :) >--- > .../prog/en/modules/cataloguing/additem.tt | 16 ---------------- > 1 file changed, 16 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt >index 9cdc1cf..6c07b61 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt >@@ -43,22 +43,6 @@ $(document).ready(function(){ > } ) ); > > }); >-function active(numlayer) >-{ >- for (i=10; i < 11 ; i++ ) { >- ong = i+"XX"; >- link = "link"+i; >- if (numlayer==i) { >- document.getElementById(ong).style.visibility="visible"; >- document.getElementById(link).style.backgroundColor="#11AA11"; >- document.getElementById(link).style.backgroundImage="url([% themelang %]/images/background-mem.gif)"; >- } else { >- document.getElementById(ong).style.visibility="hidden"; >- document.getElementById(link).style.backgroundColor="#FFFFFF"; >- document.getElementById(link).style.backgroundImage=""; >- } >- } >-} > function Check(f) { > var total_errors = CheckMandatorySubfields(f); > if (total_errors==0) { >-- >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 14267
:
39476
|
39492
|
39508