Bugzilla – Attachment 54638 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: Fix behavior of 'Delete subfield' button on select2 controls
Bug-13501-Fix-behavior-of-Delete-subfield-button-o.patch (text/plain), 964 bytes, created by
Julian Maurice
on 2016-08-19 13:35:49 UTC
(
hide
)
Description:
Bug 13501: Fix behavior of 'Delete subfield' button on select2 controls
Filename:
MIME Type:
Creator:
Julian Maurice
Created:
2016-08-19 13:35:49 UTC
Size:
964 bytes
patch
obsolete
>From 4082f67436c1128f2ec24dc44fe4c92b7221aa71 Mon Sep 17 00:00:00 2001 >From: Julian Maurice <julian.maurice@biblibre.com> >Date: Fri, 19 Aug 2016 15:26:11 +0200 >Subject: [PATCH] Bug 13501: Fix behavior of 'Delete subfield' button on > select2 controls > >--- > koha-tmpl/intranet-tmpl/prog/js/cataloging.js | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/cataloging.js b/koha-tmpl/intranet-tmpl/prog/js/cataloging.js >index c23637f..87b65fe 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/cataloging.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/cataloging.js >@@ -384,6 +384,8 @@ function UnCloneField(index) { > this.checked = false; > } else if (tag == 'select') { > this.selectedIndex = -1; >+ // required for Select2 to be able to update its control >+ $(this).trigger('change'); > } > }); > $(":input.indicator", original).val(""); >-- >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