Commit 18230459 authored by Morris Jobke's avatar Morris Jobke
Browse files

Merge pull request #16001 from owncloud/add-multiselect-new-title

also add title to multiselect create new element, force multiselect wider width, fix #15954
parents c4dc988c 8ccf1c85
......@@ -51,7 +51,7 @@ ul.multiselectoptions > li input[type='checkbox']:checked+label {
div.multiselect, select.multiselect {
display: inline-block;
max-width: 200px;
min-width: 150px;
min-width: 150px !important;
padding-right: 10px;
min-height: 20px;
position: relative;
......
......@@ -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">');
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment