marinaglancy / moodle-format_flexsections

25 stars 26 forks source link

Can't drag activities or resources as long as the target section is empty #62

Closed sntmoodle closed 1 year ago

sntmoodle commented 1 year ago

Hi

We use Moodle 4.1 with Flexible sections format. We recently noticed that you can't drag activities or resources to a section, as long as the target section is empty. When the target section is not empty, drag and drop works fine.

Is this by design, is this a bug or is there a setting error on our system?

Thanks -SNT

chiaravicere commented 1 year ago

We experiment the same.

marinaglancy commented 1 year ago

Does it work for you in topics format? I did not actually do anything special for activities drag&drop in flexsections, it uses the same code as the standard plugins

sntmoodle commented 1 year ago

Hi Marina

Dropping in an empty section in topics format does work. Dropping in an empty section in flexible sections format does not work.

Thanks -SNT

marinaglancy commented 1 year ago

Hello! This should be fixed in the v4.0.4 that was released today. Thanks for the report!

sntmoodle commented 1 year ago

Thank you. Works fine now! -SNT