diff options
author | Morris Jobke <hey@morrisjobke.de> | 2015-05-02 21:46:28 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2015-05-02 21:46:28 +0200 |
commit | 182304591d7dcfa2f98b8767522d59bab875ac3a (patch) | |
tree | cdd87cba65126bee934b96779ece9a94dcb5da81 | |
parent | c4dc988c2ee8637dde77f652750540b6dc101a71 (diff) | |
parent | 8ccf1c85d9794e0664b5aae45080bc86de9b8cb7 (diff) | |
download | nextcloud-server-182304591d7dcfa2f98b8767522d59bab875ac3a.tar.gz nextcloud-server-182304591d7dcfa2f98b8767522d59bab875ac3a.zip |
Merge pull request #16001 from owncloud/add-multiselect-new-title
also add title to multiselect create new element, force multiselect wider width, fix #15954
-rw-r--r-- | core/css/multiselect.css | 2 | ||||
-rw-r--r-- | core/js/multiselect.js | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/core/css/multiselect.css b/core/css/multiselect.css index b3393c450d4..274cec8253d 100644 --- a/core/css/multiselect.css +++ b/core/css/multiselect.css @@ -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; 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">'); |