MDL-72915 qtype_ddimageortext: Fix eventHandler for Unlimited items
commit5707de083a433644d97354f551576dcd6445486e
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 09:26:39 +0000 (9 16:26 +0700)
tree7898e67c88b95a119f7423a14a377350e84a7612
parente91a1432d167850bd378b65732c0177bf2b21b4e
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