From 894d4c157a266e185e1fb4b45f35f65addbd8b3a Mon Sep 17 00:00:00 2001 From: Dave Stein Date: Mon, 18 Feb 2013 17:13:29 -0500 Subject: [PATCH] Draggable + Sortable: Fixed blockFrames. Added unit tests specifically for draggable since it should be moving up to "core" file shortly --- tests/unit/draggable/draggable_core.js | 81 ++++++++++++++++++++++++++ ui/jquery.ui.draggable.js | 10 ++-- ui/jquery.ui.sortable.js | 10 ++-- 3 files changed, 89 insertions(+), 12 deletions(-) diff --git a/tests/unit/draggable/draggable_core.js b/tests/unit/draggable/draggable_core.js index 0f0aa2e05..b50a72560 100644 --- a/tests/unit/draggable/draggable_core.js +++ b/tests/unit/draggable/draggable_core.js @@ -47,6 +47,87 @@ test("No options, absolute", function() { TestHelpers.draggable.shouldMove(el); }); +test("_blockFrames, absolute parent", function() { + expect( 3 ); + var el = $("#draggable1").draggable(), + parent = $("
"), + iframe = $("