mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
b34aaca2e8
1. Add missing _super calls. 2. Make UI widget destroys more consistent to avoid exceptions. Selectable would throw an exception in the GridField.js if destroy called from onunmatch - at that stage jQuery UI would have had called the destroy already. Add a guard, and change to onremove, which triggers before the element is removed from DOM. 3. DOM traversal fails after the element is removed from DOM. Onunmatch triggers after the removal of the element from the DOM, which makes DOM traversal fail. Use onremove instead, which triggers while the element is still in DOM. |
||
---|---|---|
.. | ||
jquery-ondemand | ||
lang | ||
tree | ||
AssetUploadField.js | ||
ConfirmedPasswordField.js | ||
DateField.js | ||
GridField.js | ||
HtmlEditorField.js | ||
i18n.js | ||
i18nx.js | ||
InlineFormAction.js | ||
PermissionCheckboxSetField.js | ||
SelectionGroup.js | ||
TabSet.js | ||
ToggleCompositeField.js | ||
ToggleField.js | ||
TreeDropdownField.js | ||
UploadField_downloadtemplate.js | ||
UploadField_select.js | ||
UploadField_uploadtemplate.js | ||
UploadField.js |