summaryrefslogtreecommitdiffstats
path: root/core/js/multiselect.js
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2013-06-11 18:21:13 +0200
committerJan-Christoph Borchardt <hey@jancborchardt.net>2013-06-11 18:21:13 +0200
commit0bcb04398d731ff75d74497f4a203279b6990351 (patch)
treec7b04a547705778dc5ca963249ab625d934eaff9 /core/js/multiselect.js
parent686797eb6dde2d0c7ac6b9cc5c900a2878a8c06f (diff)
downloadnextcloud-server-0bcb04398d731ff75d74497f4a203279b6990351.tar.gz
nextcloud-server-0bcb04398d731ff75d74497f4a203279b6990351.zip
multiselect: fixed 'add group' interface a bit
Diffstat (limited to 'core/js/multiselect.js')
-rw-r--r--core/js/multiselect.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/js/multiselect.js b/core/js/multiselect.js
index 463c397d8cd..48d521e1856 100644
--- a/core/js/multiselect.js
+++ b/core/js/multiselect.js
@@ -176,10 +176,10 @@
});
button.parent().data('preventHide',false);
if(settings.createText){
- var li=$('<li class="creator">+ <em>'+settings.createText+'<em></li>');
+ var li=$('<li class="creator">+ '+settings.createText+'</li>');
li.click(function(event){
li.empty();
- var input=$('<input class="new">');
+ var input=$('<input type="text" class="new">');
li.append(input);
input.focus();
input.css('width',button.innerWidth());