Dear Developers,

The Drag and drop funciton does not work on my site. I found out that problem is coming from that there is a .once() in media_directories_ui.media.js and there is a .once() function in media_directories_ui.tree.js but in tree.js there is no parameter for this once function and the code inside this part not run.

I think you should add parameter to this once function too like in media.js file.

Comments

riskogab created an issue. See original summary.

ytsurk’s picture

Assigned: Unassigned » ytsurk

Thank you for the report.

What version of Drupal, our module and jsTree are you using?
In what browser does this happen, have you tried with a different browser?

  • ytsurk committed 561a1ad on 2.x
    Issue #3246110 by riskogab, ytsurk: Two .once() function on $(document)...
ytsurk’s picture

Assigned: ytsurk » Unassigned
Status: Active » Fixed

I cannot reproduce, still.

But for the sake of consistency I added ids for all once calls.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.