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
|
@ -51,7 +51,7 @@ ul.multiselectoptions > li input[type='checkbox']:checked+label {
|
||||||
div.multiselect, select.multiselect {
|
div.multiselect, select.multiselect {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
max-width: 200px;
|
max-width: 200px;
|
||||||
min-width: 150px;
|
min-width: 150px !important;
|
||||||
padding-right: 10px;
|
padding-right: 10px;
|
||||||
min-height: 20px;
|
min-height: 20px;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
|
@ -191,7 +191,8 @@
|
||||||
});
|
});
|
||||||
button.parent().data('preventHide',false);
|
button.parent().data('preventHide',false);
|
||||||
if(settings.createText){
|
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.click(function(event){
|
||||||
li.empty();
|
li.empty();
|
||||||
var input=$('<input type="text" class="new">');
|
var input=$('<input type="text" class="new">');
|
||||||
|
|
Loading…
Reference in New Issue