From 9faaf07e0257f622abcaa365408fa836a1cbdea8 Mon Sep 17 00:00:00 2001 From: Maxime Quandalle Date: Tue, 25 Aug 2015 23:39:00 +0200 Subject: Implement a modal system I decided to create my own and not to use a community package, because 1. it's straightforward 2. it's better integrated with our others libs such as EscapeActions 3. monitoring third-party packages evolutions (eg, CSS changes) is a lot of work. This is basically the same rationale than for our other generic UI components such as the Popup/Popover. This commit also slightly modify the general layout to remove unnecessary wrapper DOM nodes. --- client/components/lists/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/components/lists') diff --git a/client/components/lists/main.js b/client/components/lists/main.js index e6491f0a..3b602f43 100644 --- a/client/components/lists/main.js +++ b/client/components/lists/main.js @@ -30,7 +30,7 @@ BlazeComponent.extendComponent({ $cards.sortable({ connectWith: '.js-minicards', tolerance: 'pointer', - appendTo: '#surface', + appendTo: 'body', helper: function(evt, item) { var helper = item.clone(); if (MultiSelection.isActive()) { -- cgit v1.2.3-1-g7c22