Bugzilla – Attachment 30485 Details for
Bug 8296
Add descriptive (text) published date field for serials
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 8296: Don't fill text field automatically
Bug-8296-Dont-fill-text-field-automatically.patch (text/plain), 4.12 KB, created by
Chris Cormack
on 2014-08-02 08:20:56 UTC
(
hide
)
Description:
Bug 8296: Don't fill text field automatically
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2014-08-02 08:20:56 UTC
Size:
4.12 KB
patch
obsolete
>From c0adac0f9046886765e8763e7cf1e8295476d829 Mon Sep 17 00:00:00 2001 >From: Julian Maurice <julian.maurice@biblibre.com> >Date: Tue, 23 Jul 2013 09:43:02 +0200 >Subject: [PATCH] Bug 8296: Don't fill text field automatically > >+ minor fixes: > * Add bug number to updatedatabase > * Fix colspan in serials-edit.tt > >Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz> >--- > installer/data/mysql/updatedatabase.pl | 2 +- > koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-edit.tt | 8 ++++---- > 2 files changed, 5 insertions(+), 5 deletions(-) > >diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl >index 1f52e5f..893b29e 100755 >--- a/installer/data/mysql/updatedatabase.pl >+++ b/installer/data/mysql/updatedatabase.pl >@@ -8597,7 +8597,7 @@ if (C4::Context->preference("Version") < TransformToNum($DBversion)) { > AFTER publisheddate > "); > >- print "Upgrade to $DBversion done (Add serial.publisheddatetext)\n"; >+ print "Upgrade to $DBversion done (Bug 8296: Add serial.publisheddatetext)\n"; > SetVersion($DBversion); > } > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-edit.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-edit.tt >index 6276ea1..86912cf 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-edit.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-edit.tt >@@ -167,7 +167,7 @@ $(document).ready(function() { > <input type="text" name="publisheddate" value="[% serialslis.publisheddate %]" size="10" maxlength="15" class="datepicker" /> > </td> > <td> >- <input type="text" name="publisheddatetext" value="[% serialslis.publisheddatetext || serialslis.publisheddate %]" size="10" maxlength="100" /> >+ <input type="text" name="publisheddatetext" value="[% serialslis.publisheddatetext %]" size="10" maxlength="100" /> > </td> > <td> > <input type="text" id="expecteddate" name="planneddate" value="[% serialslis.planneddate %]" size="10" maxlength="15" class="datepicker" /> >@@ -251,7 +251,7 @@ $(document).ready(function() { > [% UNLESS ( serialslis.subscriptionexpired ) %] > [% IF ( serialslis.serialsadditems ) %] > <tr> >- <td colspan="5"> >+ <td colspan="6"> > <a id="label[% serialslis.subscriptionid %][% serialslis.serialid %]" style="color: grey; font-size: 80%; cursor: pointer;" onclick="unHideItems('items[% serialslis.subscriptionid %][% serialslis.serialid %]','label[% serialslis.subscriptionid %][% serialslis.serialid %]', '[% serialslis.serialid %]');setStatus([% serialslis.serialid %]);"> > Click to add item</a> > <fieldset class="rows" style="display:none;" id="items[% serialslis.subscriptionid %][% serialslis.serialid %]"> >@@ -312,7 +312,7 @@ $(document).ready(function() { > <input type="text" name="publisheddate" value="[% newserialloo.publisheddate %]" size="10" maxlength="15" class="datepicker" /> > </td> > <td> >- <input type="text" name="publisheddatetext" value="[% newserialloo.publisheddatetext || newserialloo.publisheddate %]" size="10" maxlength="100" /> >+ <input type="text" name="publisheddatetext" value="[% newserialloo.publisheddatetext %]" size="10" maxlength="100" /> > </td> > <td> > <input type="text" name="planneddate" id="supexpecteddate" value="[% newserialloo.planneddate %]" size="10" maxlength="15" class="datepicker" /> >@@ -386,7 +386,7 @@ $(document).ready(function() { > </tr> > [% IF ( newserialloo.serialsadditems ) %] > <tr> >- <td colspan="5"> >+ <td colspan="6"> > <a id="label[% newserialloo.subscriptionid %][% newserialloo.serialid %]" style="color: grey; font-size: 80%; cursor: pointer;" onclick="unHideItems('items[% newserialloo.subscriptionid %][% newserialloo.serialid %]','label[% newserialloo.subscriptionid %][% newserialloo.serialid %]', '[% newserialloo.serialid %]')"> > Click to add item</a> > <fieldset class="rows" style="display:none;" id="items[% newserialloo.subscriptionid %][% newserialloo.serialid %]"> >-- >1.9.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 8296
:
10435
|
10582
|
11552
|
12228
|
12229
|
12230
|
12233
|
12240
|
13079
|
13080
|
13081
|
16315
|
16316
|
16317
|
16406
|
16420
|
16421
|
16422
|
18796
|
18797
|
18798
|
18811
|
18812
|
18813
|
19860
|
21341
|
21342
|
21343
|
21344
|
22727
|
22728
|
22729
|
22730
|
28974
|
28975
|
28976
|
28977
|
30379
|
30380
|
30381
|
30382
|
30383
|
30483
|
30484
|
30485
|
32124
|
32903
|
32904
|
32905
|
32906
|
32907
|
32908
|
33006
|
33007
|
33008
|
33009
|
33010
|
33011
|
33012
|
35865
|
35866
|
35867
|
35868
|
35869
|
35870
|
35871
|
41830
|
41831
|
41832
|
41833
|
41834
|
41835
|
41836
|
43665
|
43666
|
43667
|
43668
|
43669
|
43670
|
43671
|
45469