MDL-72915 qtype_ddimageortext: Fix eventHandler for Unlimited items
commitb5c181f117d11d0f2d7d712d9e656d564a18e44f
authorHuong Nguyen <huongnv13@gmail.com>
Wed, 9 Feb 2022 08:23:31 +0000 (9 15:23 +0700)
committerHuong Nguyen <huongnv13@gmail.com>
Wed, 9 Feb 2022 08:23:37 +0000 (9 15:23 +0700)
treec9d32fbe5b649d972c59675bffb6e60d98a7d2ca
parent589724236163476bdcf2310c2542b992dbfb9c7b
MDL-72915 qtype_ddimageortext: Fix eventHandler for Unlimited items

Sometimes, for the question that has a lot of input groups and unlimited draggable items,
the 'clone' process takes longer than usual, so the questionManager.init() method
will not add the eventHandler for the cloned drag.
We should make sure to bind the eventHandler for the cloned too
question/type/ddimageortext/amd/build/question.min.js
question/type/ddimageortext/amd/build/question.min.js.map
question/type/ddimageortext/amd/src/question.js