From 198d72913f58e20c4eabbd3f8f6797847d409d23 Mon Sep 17 00:00:00 2001 From: Jun Pataleta Date: Thu, 20 Jul 2017 13:32:50 +0800 Subject: [PATCH] MDL-59366 core_amd: Modifications for form-autocomplete * New optional parameter 'closeSuggestionsOnSelect' for the enhance() function for form-autocomplete. Setting this to true will close the suggestions popup immediately after an option has been selected. If not specified, it defaults to true for single-select elements and false for multiple-select elements. Part of MDL-59290. --- lib/amd/build/form-autocomplete.min.js | Bin 8538 -> 8646 bytes lib/amd/src/form-autocomplete.js | 13 +++++++++++-- lib/upgrade.txt | 3 +++ 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/lib/amd/build/form-autocomplete.min.js b/lib/amd/build/form-autocomplete.min.js index 5e301a0b296c1453be899aeebf3e06068774b5af..233e46e18dcda816df9e62c66c8329f1ad885c12 100644 GIT binary patch delta 560 zcmaJ;!D>XWl(o0di*Tt)<{(1QQ=*#Wu&M1=woRsJ1P?%JT z;-xr&3`XVv1FND8BSfgeBSHrDe#iT|*Lkt>fC@6JBJE3iweh|s?d?Y3F!1Jh=6C5aeZ?o4@_S4F4 zS`3^IREijqR6vXZZl(%k;)?^x{*{4?!GD&)-Lb}v=1~`;VInn0yE$7p+eN4Dbis$G zp|amP+e^jp%zk*t_G{9}DjqSI7!Wa@)l|~ljhR$UnY^GCOATB!@_FR3ZFk9XMd*av zM{PD|Q*L`pbiE>>22*O`M{N8C1Rm1~o!Zacr-!bJ#DI3cKo|7vj>d%Qzg;=+h~_L6 zsx-%LUSj8mDiYfM6Tg+)UyrvPzVe^1Nfy10CRKZ{0vUsbtzT)QoBQ*m6YJ7Ya}Hm$#RF0Fn!jgp`~jF1;c&=qENy-^V6X?|nb z%Xvvh3G1*xH^Y5l2J0UuoJ@~XL42(h1k(XPW2R^KfmS3G1zVC#@hxy+<0;y@@Pv7< z)QhUsHV+GAH=9ri^$8nl#zQ#DFvk*k2@z7qf+tkrgv6S4lN`@;^{HtT-BQeDssTMCU$Ad5~|0Z5-ebjck)hGX(>Lr?&lX zLxg*ORc$MPB^lps+Ib3XQY^N