From 6d8f21ac2f6e9159e83a4a42ef295ab7e15c5162 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Thu, 6 Sep 2012 14:47:08 +0200 Subject: [PATCH] Omitting WCF.Sortable.Simple's className parameter is now possible --- wcfsetup/install/files/js/WCF.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/wcfsetup/install/files/js/WCF.js b/wcfsetup/install/files/js/WCF.js index 7c98eb9567..dca3d9bbe2 100755 --- 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)); + } }, /** -- 2.20.1