refinery/refinerycms · error · Error
nestedSortable: Please check the listType option is set to y
Error message
nestedSortable: Please check the listType option is set to your actual list type
What it means
Error "nestedSortable: Please check the listType option is set to your actual list type" thrown in refinery/refinerycms.
Source
Thrown at core/app/assets/javascripts/refinery/nestedsortables.js:35
options: {
tabSize: 20,
disableNesting: 'mjs-nestedSortable-no-nesting',
errorClass: 'mjs-nestedSortable-error',
doNotClear: false,
listType: 'ol',
maxLevels: 0,
protectRoot: false,
rootID: null,
rtl: false,
isAllowed: function(item, parent) { return true; }
},
_create: function() {
this.element.data('sortable', this.element.data('nestedSortable'));
if (!this.element.is(this.options.listType))
throw new Error('nestedSortable: Please check the listType option is set to your actual list type');
return $.ui.sortable.prototype._create.apply(this, arguments);
},
destroy: function() {
this.element
.removeData("nestedSortable")
.unbind(".nestedSortable");
return $.ui.sortable.prototype.destroy.apply(this, arguments);
},
_mouseDrag: function(event) {
//Compute the helpers position
this.position = this._generatePosition(event);
this.positionAbs = this._convertPositionTo("absolute");
if (!this.lastPositionAbs) {View on GitHub (pinned to 34438aae76)
When it happens
Trigger: Thrown at core/app/assets/javascripts/refinery/nestedsortables.js:35 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of refinery/refinerycms@34438aae76 (2026-08-23).
Data as JSON: /api/errors/260399f3babb12cb.
Report an issue: GitHub.