Revolution: 3.x Drag and drop resources in the tree does not work

Created on 1 Feb 2020  路  4Comments  路  Source: modxcms/revolution

Bug report

Summary

Drag and drop of resources in the tree does not work, it gives an error in the console.

How it look like:

res-drag

res-dd-2

modx.tree.resource.js:758 Uncaught TypeError: Cannot read property 'Resource/Update' of undefined
    at MODx.tree.Resource._handleDrag (modx.tree.resource.js:758)
    at h.Event.fire (ext-all.js:21)
    at MODx.tree.Resource.fireEvent (ext-all.js:21)
    at Ext.tree.TreeDropZone.completeDrop (ext-all.js:21)
    at Ext.tree.TreeDropZone.processDrop (ext-all.js:21)
    at Ext.tree.TreeDropZone.onNodeDrop (ext-all.js:21)
    at Ext.tree.TreeDropZone.notifyDrop (ext-all.js:21)
    at Ext.tree.TreeDragZone.onDragDrop (ext-all.js:21)
    at Object.fireEvents (ext-all.js:21)
    at Object.fireEvents (ext-all.js:21)

Environment

MODX 3
Google Chrome 79.0.3945.130

Most helpful comment

@JoshuaLuckers under the logo I see MODX alpha2

Thanks, I believe I should get glasses haha.

All 4 comments

What version of MODX 3 are you using?

@JoshuaLuckers under the logo I see MODX alpha2

@JoshuaLuckers under the logo I see MODX alpha2

Thanks, I believe I should get glasses haha.

@modxbot close
Fixed #14997

Was this page helpful?
0 / 5 - 0 ratings