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:
1363952
)
Omitting WCF.Sortable.Simple's className parameter is now possible
author
Alexander Ebert
<ebert@woltlab.com>
Thu, 6 Sep 2012 12:47:08 +0000
(14:47 +0200)
committer
Alexander Ebert
<ebert@woltlab.com>
Thu, 6 Sep 2012 12:47:08 +0000
(14:47 +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 7c98eb95679c4539637cf29cc61dcd74c1c044ac..dca3d9bbe2c194ee84eda6c47060131f38fbcbaf 100755
(executable)
--- a/
wcfsetup/install/files/js/WCF.js
+++ b/
wcfsetup/install/files/js/WCF.js
@@
-5212,7
+5212,9
@@
WCF.Sortable.List = Class.extend({
$('#' + this._containerID + ' > .sortableList').wcfNestedSortable(this._options);
}
- this._container.find('.formSubmit > button[data-type="submit"]').click($.proxy(this._submit, this));
+ if (this._className) {
+ this._container.find('.formSubmit > button[data-type="submit"]').click($.proxy(this._submit, this));
+ }
},
/**