From 08ab7a3c107c5fbd735ad6e133e67e81229126e8 Mon Sep 17 00:00:00 2001 From: Tim Hunt Date: Mon, 27 Oct 2014 17:26:40 +0000 Subject: [PATCH] MDL-47368 core JS: dragdrop click move fills the dom with divs Every time you click the move icon, it builds a new dialogue with a list of drop targets, but it never discards the old ones. Not only does this fill the DOM with junk, but it also causes Behat tests to fail, since the old dialogues come first, and are hidden, but contain links with the same text that you are trying to click. --- .../moodle-core-dragdrop-debug.js | Bin 22192 -> 22286 bytes .../moodle-core-dragdrop-min.js | Bin 6640 -> 6697 bytes .../moodle-core-dragdrop.js | Bin 22192 -> 22286 bytes lib/yui/src/dragdrop/js/dragdrop.js | 3 +++ 4 files changed, 3 insertions(+) diff --git a/lib/yui/build/moodle-core-dragdrop/moodle-core-dragdrop-debug.js b/lib/yui/build/moodle-core-dragdrop/moodle-core-dragdrop-debug.js index af66f37e4675a3feadd9a0216091cfe9923620b4..d086ba00ca65cef8820f6c4e9fa35babf9ea8197 100644 GIT binary patch delta 49 zcmdn6ma%Ug;|4D8$$DNAd?`iw1*Msq3e{W+Krp$_Rh~U1wYa1xzjCs!wd!VB@5$T% DpBfM% delta 18 acmeBM$GBlF;|4D8$@bR5o2$Jia{~ZH$_Cf~ diff --git a/lib/yui/build/moodle-core-dragdrop/moodle-core-dragdrop-min.js b/lib/yui/build/moodle-core-dragdrop/moodle-core-dragdrop-min.js index 991fbbb94b2acaecf94a770dc3584bdee0e4305d..559fab605b26888179d93e98476bc5723c69baf1 100644 GIT binary patch delta 79 zcmexhywYUDY%vQRU%lk~qEx+