diff options
author | icewind1991 <robin@icewind.nl> | 2014-06-03 19:01:12 +0200 |
---|---|---|
committer | icewind1991 <robin@icewind.nl> | 2014-06-03 19:01:12 +0200 |
commit | cdf8a123e7133fdb59991ee1bc830e625727460f (patch) | |
tree | 90fb931f8f0adccd8687c154723e53d5fb3e7dec /core/js/multiselect.js | |
parent | e4c3ff03d60d5b541e483050174b1b7456e4babd (diff) | |
parent | a3202f1f031b443433aefc74958b268ceae3e024 (diff) | |
download | nextcloud-server-cdf8a123e7133fdb59991ee1bc830e625727460f.tar.gz nextcloud-server-cdf8a123e7133fdb59991ee1bc830e625727460f.zip |
Merge pull request #8264 from owncloud/app-enable-by-group
Add the option to enable apps only for specific groups
Diffstat (limited to 'core/js/multiselect.js')
-rw-r--r-- | core/js/multiselect.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/core/js/multiselect.js b/core/js/multiselect.js index dac39b6acf5..565b793200f 100644 --- a/core/js/multiselect.js +++ b/core/js/multiselect.js @@ -175,7 +175,8 @@ button.animate({'width':newWidth},undefined,undefined,function(){ button.css('width',''); }); - list.animate({'width':newOuterWidth,'left':pos.left+3}); + list.animate({'width':newOuterWidth,'left':pos.left}); + self.change(); }); var li=$('<li></li>'); li.append(input).append(label); @@ -285,7 +286,7 @@ ) { list.css({ top:pos.top+button.outerHeight()-5, - left:pos.left+3, + left:pos.left, width:(button.outerWidth()-2)+'px', 'max-height':($(document).height()-(button.offset().top+button.outerHeight()+10))+'px' }); @@ -296,7 +297,7 @@ list.css('max-height', $(document).height()-($(document).height()-(pos.top)+50)+'px'); list.css({ top:pos.top - list.height(), - left:pos.left+3, + left:pos.left, width:(button.outerWidth()-2)+'px' }); |