summaryrefslogtreecommitdiffstats
path: root/core/js/multiselect.js
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2015-05-01 13:47:37 -0400
committerJan-Christoph Borchardt <hey@jancborchardt.net>2015-05-01 13:47:37 -0400
commit4dd8a22e518c3193655e05239cfb281d4e8405c6 (patch)
treea6692bda5fd99d6b85d7d737a49e718279528baa /core/js/multiselect.js
parenteda4d4583645b49bd1e582f7396603ce6795e919 (diff)
downloadnextcloud-server-4dd8a22e518c3193655e05239cfb281d4e8405c6.tar.gz
nextcloud-server-4dd8a22e518c3193655e05239cfb281d4e8405c6.zip
also add title to multiselect create new element, fix #15954
Diffstat (limited to 'core/js/multiselect.js')
-rw-r--r--core/js/multiselect.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/js/multiselect.js b/core/js/multiselect.js
index 97a3dcfad9c..96144d39ee0 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=$('<li class="creator">+ '+settings.createText+'</li>');
+ var li=$('<li class="creator" title="' + settings.createText +
+ '">+ ' + settings.createText + '</li>');
li.click(function(event){
li.empty();
var input=$('<input type="text" class="new">');