diff --git a/cms/static/js/views/overview.js b/cms/static/js/views/overview.js index ea4a55e15861..1425bb5333b2 100644 --- a/cms/static/js/views/overview.js +++ b/cms/static/js/views/overview.js @@ -284,7 +284,7 @@ define(["domReady", "jquery", "jquery.ui", "gettext", "js/views/feedback_notific $(ele).data('child-selector', type); var draggable = new Draggabilly(ele, { handle: handleClass, - axis: 'y' + containment: '.wrapper-dnd' }); draggable.on('dragStart', _.bind(overviewDragger.onDragStart, overviewDragger)); draggable.on('dragMove', _.bind(overviewDragger.onDragMove, overviewDragger)); diff --git a/cms/templates/edit_subsection.html b/cms/templates/edit_subsection.html index 364411b01cc7..3ed4f6552e3b 100644 --- a/cms/templates/edit_subsection.html +++ b/cms/templates/edit_subsection.html @@ -21,9 +21,11 @@ -
- - ${units.enum_units(subsection, subsection_units=subsection_units)} +
+
+ + ${units.enum_units(subsection, subsection_units=subsection_units)} +
diff --git a/cms/templates/overview.html b/cms/templates/overview.html index f075fd4e175c..cfdb6031079e 100644 --- a/cms/templates/overview.html +++ b/cms/templates/overview.html @@ -138,87 +138,90 @@

${_("Page Actions")}

-
- % for section in sections: -
- - <%include file="widgets/_ui-dnd-indicator-before.html" /> - -
- - -
-

- -
-
- - -
-
-
- -
    - % for subsection in section.get_children(): - - % endfor -
  1. - <%include file="widgets/_ui-dnd-indicator-initial.html" /> -
  2. -
-
- - <%include file="widgets/_ui-dnd-indicator-after.html" /> -
- % endfor -
+ <%include file="widgets/_ui-dnd-indicator-after.html" /> + + % endfor + +