projects
/
GitHub
/
WoltLab
/
WCF.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce70ffe
)
Fixed pre-selection label dropdowns
author
Alexander Ebert
<ebert@woltlab.com>
Mon, 4 Nov 2013 19:48:37 +0000
(20:48 +0100)
committer
Alexander Ebert
<ebert@woltlab.com>
Mon, 4 Nov 2013 19:48:37 +0000
(20:48 +0100)
wcfsetup/install/files/js/WCF.Label.js
patch
|
blob
|
blame
|
history
diff --git
a/wcfsetup/install/files/js/WCF.Label.js
b/wcfsetup/install/files/js/WCF.Label.js
index a9ef8b8ac124896cb4270f503ae4a22721e39c2e..48a03aebab93f4e97759cb4687d8876e0d005f84 100644
(file)
--- a/
wcfsetup/install/files/js/WCF.Label.js
+++ b/
wcfsetup/install/files/js/WCF.Label.js
@@
-139,7
+139,7
@@
WCF.Label.Chooser = Class.extend({
// pre-select labels
if ($.getLength(selectedLabelIDs)) {
for (var $groupID in selectedLabelIDs) {
- WCF.Dropdown.getDropdownMenu(this._groups[$groupID].wcfIdentify()).
children('li
').each($.proxy(function(index, label) {
+ WCF.Dropdown.getDropdownMenu(this._groups[$groupID].wcfIdentify()).
find('> ul > li:not(.dropdownDivider)
').each($.proxy(function(index, label) {
var $label = $(label);
var $labelID = $label.data('labelID') || 0;
if ($labelID && selectedLabelIDs[$groupID] == $labelID) {