From 4dd8a22e518c3193655e05239cfb281d4e8405c6 Mon Sep 17 00:00:00 2001 From: Jan-Christoph Borchardt Date: Fri, 1 May 2015 13:47:37 -0400 Subject: [PATCH] also add title to multiselect create new element, fix #15954 --- core/js/multiselect.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/js/multiselect.js b/core/js/multiselect.js index 97a3dcfad9..96144d39ee 100644 --- a/core/js/multiselect.js +++ b/core/js/multiselect.js @@ -191,7 +191,8 @@ }); button.parent().data('preventHide',false); if(settings.createText){ - var li=$('
  • + '+settings.createText+'
  • '); + var li=$('
  • + ' + settings.createText + '
  • '); li.click(function(event){ li.empty(); var input=$('');