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:
6c82fd5
)
Fixed auto-selection of parent categories on page load
author
Marcel Werk
<burntime@woltlab.com>
Mon, 22 Jun 2015 16:45:54 +0000
(18:45 +0200)
committer
Marcel Werk
<burntime@woltlab.com>
Mon, 22 Jun 2015 16:45:54 +0000
(18:45 +0200)
wcfsetup/install/files/js/WCF.js
patch
|
blob
|
blame
|
history
diff --git
a/wcfsetup/install/files/js/WCF.js
b/wcfsetup/install/files/js/WCF.js
index 51997a3abf1de07a4cf845c69e42aca1f250989f..578433137199a095167c300a6fa591ff3725f3ec 100755
(executable)
--- a/
wcfsetup/install/files/js/WCF.js
+++ b/
wcfsetup/install/files/js/WCF.js
@@
-12250,6
+12250,10
@@
WCF.Category.FlexibleCategoryList = Class.extend({
this._buildStructure();
+ this._list.find('input:checked').each(function() {
+ $(this).trigger('change');
+ });
+
if (this._list.children('li').length < 2) {
this._list.addClass('flexibleCategoryListDisabled');
return;