Bugzilla – Attachment 34855 Details for
Bug 13501
Allow autocompletion on drop-down lists
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 13501: Use combobox plugin on cataloguing and batch items edit pages
Bug-13501-Use-combobox-plugin-on-cataloguing-and-b.patch (text/plain), 3.21 KB, created by
Marc Véron
on 2015-01-02 09:34:07 UTC
(
hide
)
Description:
Bug 13501: Use combobox plugin on cataloguing and batch items edit pages
Filename:
MIME Type:
Creator:
Marc Véron
Created:
2015-01-02 09:34:07 UTC
Size:
3.21 KB
patch
obsolete
>From c92ba07f6aef59de29ead833bb5a9ff88c6f3dd2 Mon Sep 17 00:00:00 2001 >From: Julian Maurice <julian.maurice@biblibre.com> >Date: Tue, 30 Dec 2014 14:42:16 +0100 >Subject: [PATCH] Bug 13501: Use combobox plugin on cataloguing and batch > items edit pages >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >Tested with drop downs in cataloguing (edit and new record/item) and batch item editing. >Works as expected. > >Signed-off-by: Marc Véron <veron@veron.ch> >--- > .../intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt | 8 ++++++++ > koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt | 8 ++++++++ > koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-edit.tt | 8 ++++++++ > 3 files changed, 24 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt >index 26e3b62..74741c5 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt >@@ -365,6 +365,14 @@ function Changefwk(FwkList) { > //]]> > </script> > <link type="text/css" rel="stylesheet" href="[% themelang %]/css/addbiblio.css" /> >+ >+<script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery-ui-combobox.js"></script> >+<script type="text/javascript"> >+ $(document).ready(function() { >+ $('.subfield_line select').combobox(); >+ }); >+</script> >+ > [% IF ( bidi ) %] > <link rel="stylesheet" type="text/css" href="[% themelang %]/css/right-to-left.css" /> > [% END %] >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..5762ee9 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt >@@ -115,6 +115,14 @@ $(document).ready(function() { > //]]> > </script> > <link type="text/css" rel="stylesheet" href="[% themelang %]/css/addbiblio.css" /> >+ >+<script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery-ui-combobox.js"></script> >+<script type="text/javascript"> >+ $(document).ready(function() { >+ $('.subfield_line select').combobox(); >+ }); >+</script> >+ > [% IF ( bidi ) %] > <link rel="stylesheet" type="text/css" href="[% themelang %]/css/right-to-left.css" /> > [% END %] >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-edit.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-edit.tt >index ab9c2de..f5dbdab 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-edit.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-edit.tt >@@ -40,6 +40,14 @@ $(document).ready(function(){ > <![endif]--> > <style type="text/css">input[type=checkbox]{ margin : 0 .5em; }</style> > <link type="text/css" rel="stylesheet" href="[% themelang %]/css/addbiblio.css" /> >+ >+<script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery-ui-combobox.js"></script> >+<script type="text/javascript"> >+ $(document).ready(function() { >+ $('.subfield_line select').combobox(); >+ }); >+</script> >+ > </head> > <body id="tools_batchMod-edit" class="tools"> > [% INCLUDE 'header.inc' %] >-- >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 13501
:
34830
|
34831
|
34855
|
34856
|
34857
|
34897
|
34898
|
40654
|
40708
|
44213
|
44214
|
44215
|
44216
|
44217
|
44218
|
45966
|
48368
|
48369
|
48370
|
54634
|
54635
|
54636
|
54637
|
54638
|
54674
|
54675
|
54676
|
54677
|
54678