Merge pull request #16001 from owncloud/add-multiselect-new-title
also add title to multiselect create new element, force multiselect wider width, fix #15954
This commit is contained in:
commit
182304591d
2 changed files with 3 additions and 2 deletions
|
@ -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">');
|
||||
|
|
Loading…
Reference in a new issue