[Pkg-owncloud-commits] [owncloud] 163/215: add title to multiselect list items so longer group names are visible, fix #15819
David Prévot
taffit at moszumanska.debian.org
Tue May 5 01:01:45 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch stable8
in repository owncloud.
commit 3dfa05c0d037c3d974277928aa4842d01d9f66ad
Author: Jan-Christoph Borchardt <hey at jancborchardt.net>
Date: Wed Apr 29 13:53:29 2015 -0400
add title to multiselect list items so longer group names are visible, fix #15819
---
core/js/multiselect.js | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/core/js/multiselect.js b/core/js/multiselect.js
index 565b793..97a3dcf 100644
--- a/core/js/multiselect.js
+++ b/core/js/multiselect.js
@@ -76,7 +76,7 @@
var self = this;
self.menuDirection = 'down';
button.click(function(event){
-
+
var button=$(this);
if(button.parent().children('ul').length>0) {
if(self.menuDirection === 'down') {
@@ -113,8 +113,9 @@
input.attr('name', 'ms'+multiSelectId+'-option');
}
var label=$('<label/>');
- label.attr('for',id);
+ label.attr('for', id);
label.text(element.text() || item);
+ label.attr('title', element.text() || item);
if(settings.checked.indexOf(item) !== -1 || checked) {
input.attr('checked', true);
}
@@ -258,7 +259,7 @@
});
list.append(li);
}
-
+
var doSort = function(list, selector) {
var rows = list.find('li'+selector).get();
@@ -299,7 +300,7 @@
top:pos.top - list.height(),
left:pos.left,
width:(button.outerWidth()-2)+'px'
-
+
});
list.detach().insertBefore($(this));
list.addClass('up');
@@ -327,7 +328,7 @@
}
}
});
-
+
return span;
};
})( jQuery );
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list