summaryrefslogtreecommitdiff
path: root/skins/classic/functions.js
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2014-08-11 13:11:10 +0200
committerAleksander Machniak <alec@alec.pl>2014-08-11 13:11:10 +0200
commite9ecd49f7460f571e2bf13161038371e2d5f8bfb (patch)
treefa3c3ad4ab2b87485905879f52c6b45e545303a6 /skins/classic/functions.js
parent1c70ff9d2471fa48f5ffe9d270b3b04e6ec58a63 (diff)
Added namespace filter in Folder Manager
Diffstat (limited to 'skins/classic/functions.js')
-rw-r--r--skins/classic/functions.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/skins/classic/functions.js b/skins/classic/functions.js
index f17f393c2..2bf1538c4 100644
--- a/skins/classic/functions.js
+++ b/skins/classic/functions.js
@@ -644,13 +644,14 @@ folder_search_init: function(container)
$('.boxtitle a.search', container).click(function(e) {
var title = $('.boxtitle', container),
box = $('.listsearchbox', container),
- dir = box.is(':visible') ? -1 : 1;
+ dir = box.is(':visible') ? -1 : 1,
+ height = 24 + ($('select', box).length ? 24 : 0);
box.slideToggle({
duration: 160,
progress: function(animation, progress) {
if (dir < 0) progress = 1 - progress;
- $('.boxlistcontent', container).css('top', (title.outerHeight() + 24 * progress) + 'px');
+ $('.boxlistcontent', container).css('top', (title.outerHeight() + height * progress) + 'px');
},
complete: function() {
box.toggleClass('expanded');