Bugzilla – Attachment 54637 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: Highlight select2 control if field is required and value is missing
Bug-13501-Highlight-select2-control-if-field-is-re.patch (text/plain), 1.51 KB, created by
Julian Maurice
on 2016-08-19 13:35:45 UTC
(
hide
)
Description:
Bug 13501: Highlight select2 control if field is required and value is missing
Filename:
MIME Type:
Creator:
Julian Maurice
Created:
2016-08-19 13:35:45 UTC
Size:
1.51 KB
patch
obsolete
>From 15b3a64935bf3cfc5fb988746440f33d8b328ea9 Mon Sep 17 00:00:00 2001 >From: Julian Maurice <julian.maurice@biblibre.com> >Date: Fri, 19 Aug 2016 13:48:13 +0200 >Subject: [PATCH] Bug 13501: Highlight select2 control if field is required and > value is missing > >--- > koha-tmpl/intranet-tmpl/prog/css/select2.css | 8 ++++++++ > koha-tmpl/intranet-tmpl/prog/en/includes/select2.inc | 1 + > 2 files changed, 9 insertions(+) > create mode 100644 koha-tmpl/intranet-tmpl/prog/css/select2.css > >diff --git a/koha-tmpl/intranet-tmpl/prog/css/select2.css b/koha-tmpl/intranet-tmpl/prog/css/select2.css >new file mode 100644 >index 0000000..82367f6 >--- /dev/null >+++ b/koha-tmpl/intranet-tmpl/prog/css/select2.css >@@ -0,0 +1,8 @@ >+.select2-container.subfield_not_filled { >+ background-color: initial; >+} >+ >+.select2-container.subfield_not_filled .select2-choice { >+ background: initial; >+ background-color : #FFFF99; >+} >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/select2.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/select2.inc >index bad2c7a..0be1ee0 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/select2.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/select2.inc >@@ -1,5 +1,6 @@ > <script src="[% interface %]/lib/select2/js/select2.min.js"></script> > <link rel="stylesheet" type="text/css" href="[% interface %]/lib/select2/css/select2.min.css" /> >+<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/select2.css" /> > <script> > jQuery.extend($.fn.select2.defaults, { > allowClear: true, >-- >2.1.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